cURL
curl --request POST \ --url https://api.velt.dev/v2/organizations/usergroups/add \ --header 'Content-Type: application/json' \ --header 'x-velt-api-key: <x-velt-api-key>' \ --header 'x-velt-auth-token: <x-velt-auth-token>' \ --data '{ "data": { "organizationId": "<string>", "organizationUserGroups": [ {} ] } }'
{ "result": { "status": "success", "message": "Organization User Groups added successfully.", "data": { "yourGroupId": { "success": true, "id": "77ab6767b022ad0323ba39c24f12cc95", "message": "Organization user group added." } } } }
Use this API to add organization user groups to a specific organization.
POST https://api.velt.dev/v2/organizations/usergroups/add
Your API key.
Your Auth Token.
Show properties
Organization ID
Array of Organization User Group objects
{ "data": { "organizationId": "yourOrganizationId", "organizationUserGroups": [ { "groupId": "engineering", "groupName": "Engineering" } ] } }
{ "error": { "message": "ERROR_MESSAGE", "status": "INVALID_ARGUMENT" } }
Was this page helpful?