Add a member to an organization
POST
/api/v1/organizations/{id}/members
Organizations
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://transactions.srblabs.io/api/v1/api/v1/organizations//members' \
--header 'Content-Type: application/json' \
--data-raw '{
"role": "owner",
"user_id": "string"
}'
Response Response Example
201 - Example 1
{
"created_at": "string",
"email": "string",
"id": "string",
"organization_id": "string",
"role": "string",
"user_id": "string",
"username": "string"
}
Request
Path Params
id
string
required
Body Params application/json
Responses
Modified at 2025-04-30 01:06:49