Authorizations
Body
application/json
Response
Successful response
curl --request POST \
--url https://core.ravenna.ai/api/user-groups \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"emoji": "<string>",
"icon": "<string>",
"color": "<string>",
"imageUrl": "<string>",
"userIds": [
"<string>"
],
"workspaceIds": [
"<string>"
]
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"emoji": "<string>",
"icon": "<string>",
"color": "<string>",
"imageUrl": "<string>",
"organizationId": "<string>",
"integrationGroupId": "<string>",
"_count": {
"users": 123
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
curl --request POST \
--url https://core.ravenna.ai/api/user-groups \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"emoji": "<string>",
"icon": "<string>",
"color": "<string>",
"imageUrl": "<string>",
"userIds": [
"<string>"
],
"workspaceIds": [
"<string>"
]
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"emoji": "<string>",
"icon": "<string>",
"color": "<string>",
"imageUrl": "<string>",
"organizationId": "<string>",
"integrationGroupId": "<string>",
"_count": {
"users": 123
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
Successful response
Show child attributes
Was this page helpful?