Withdraw a company invitation
DELETE
/v1/companies/{id}/invitations/{invitationId}
const url = 'https://beta-api.plune.ai/v1/companies/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/invitations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://beta-api.plune.ai/v1/companies/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/invitations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'An owner or an admin. The address can no longer get in on its strength — if it was the only reason the beta door opened, the door is shut again. One that named a project is recorded in that project’s audit feed, beside the entry that sent it.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
invitationId
required
string format: uuid
Responses
Section titled “ Responses ”Withdrawn
No / invalid token or session
A member or a reader asked
Media type application/json
object
error
required
string
Example
{ "error": "company owner or admin only"}No such company among yours, or no open invitation of that id in it
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Headers
Section titled “Headers ” Retry-After
integer
Seconds until the window rolls over