curl --request POST \
--url https://api.flare.io/firework/v2/organizations/{organization_id}/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<string>",
"memberships": [
{
"is_readonly": true,
"tenant_id": 123
}
],
"name": "<string>",
"organization_member_permissions": {},
"send_welcome_email": true,
"surname": "<string>",
"user_permissions": {}
}'
{
"member": {
"tenant_count": 123,
"user": {
"email": "<string>",
"id": 123,
"is_disabled": true,
"name": "<string>",
"organization_member_permissions": {
"*": {}
},
"registered_at": "2023-11-07T05:31:56Z",
"surname": "<string>",
"urn": "<string>"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.flare.io/firework/v2/organizations/{organization_id}/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<string>",
"memberships": [
{
"is_readonly": true,
"tenant_id": 123
}
],
"name": "<string>",
"organization_member_permissions": {},
"send_welcome_email": true,
"surname": "<string>",
"user_permissions": {}
}'
{
"member": {
"tenant_count": 123,
"user": {
"email": "<string>",
"id": 123,
"is_disabled": true,
"name": "<string>",
"organization_member_permissions": {
"*": {}
},
"registered_at": "2023-11-07T05:31:56Z",
"surname": "<string>",
"urn": "<string>"
}
}
}