Create Organization User
Changed onAs an Organization Admin, create a new user in your organization, with a buyer agent, wallet, and API key. Optionally enroll the user in an agent group, making the buyer agent their instance of it. A duplicate email is rejected with 409 before anything is provisioned.
post/api/v1/organizations/users
Request
- Base URLhttps://api.skyfire.xyz
- URLhttps://api.skyfire.xyz/api/v1/organizations/users
- AuthAPI key in header skyfire-api-key
Request body
Response
Ok
Example response
{
"userId": "906fc259-ef0a-4736-bdcd-c1d5a78db483",
"buyerAgent": {
"id": "5d084831-4a11-4970-bf62-bb6fc0b9f3a2",
"apiKey": "aff074ee-ea8b-4643-bad1-913a534a5d7a"
}
}Changes
- breaking
request body became required
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
became required for the status - info
the response property
became required for the status
- breaking