Identity-provider groups mapped onto queues and skills (CC7-R5)
GET
/v1/workspace/scim/group-mappings
const url = 'https://api.vocapable.com/v1/workspace/scim/group-mappings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/workspace/scim/group-mappings \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
WorkspaceScimGroupMappings
object
mappings
required
Mappings
Array<object>
WorkspaceScimGroupMappingCC7-R5: an identity-provider group (mirrored as a team) also grants a queue membership or a skill to everyone in it, and takes it back when they leave.
object
id
required
Id
string
team_id
required
Team Id
string
team_name
required
Team Name
string
target_kind
required
Target Kind
string
target_name
required
Target Name
string
granted
required
Granted
integer
created_at
required
Created At
string format: date-time
Example
{ "mappings": [ { "target_kind": "queue" } ]}