Perform operations on organization invitation.
cURL
curl --request PUT \ --url https://api.main.apexscore.ai/api/v1/organization-invitations/{id}/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "status": 0, "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "jsmith@example.com", "first_name": "<string>", "last_name": "<string>", "role": 0, "accessible_portfolio_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "token": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "expiry_date": "2023-11-07T05:31:56Z", "status": 0, "organization": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" }, "inviter_member": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_name": "<string>", "last_name": "<string>", "email": "jsmith@example.com" }, "email": "jsmith@example.com", "first_name": "<string>", "last_name": "<string>", "email_sent": true, "role": 0, "accessible_portfolios": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A UUID string identifying this organization invitation.
The response is of type object.
object