/organisations/{orgId}/invitations (POST)
POST
/organisations/{orgId}/invitations
const url = 'https://kravos-orchestrator.onrender.com/organisations/example/invitations';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"example","role":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://kravos-orchestrator.onrender.com/organisations/example/invitations \ --header 'Content-Type: application/json' \ --data '{ "email": "example", "role": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”orgId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string
role
required
string
Examplegenerated
{ "email": "example", "role": "example"}Responses
Section titled “ Responses ”Default Response