Skip to main content

List the routing policies attached to a user.

GET/api/v1/users/{user_id}/delegation-policiesusers:admin

The active attachments of the user, first priority first: the order the policies are tried in when work is routed away from them. Detached policies are not listed. A user that does not exist is 404. Needs View Delegation Policies.

Scopeusers:admin (sensitive)
AsynchronousNo
MCP toollist_user_delegation_policies
Portal permissionsview_delegation_policies
Pagingkeyset
Default orderpriority, delegation_policy_id
Sort fieldspriority, delegation_policy_id

Parameters​

NameInTypeRequiredDescription
user_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of DelegationPolicyRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ActionRequestTypeRef​

FieldTypeRequiredDescription
action_request_type_idstringRequired

DelegationPolicy​

FieldTypeRequiredDescription
delegateUserRef or nullRequiredThe user work is routed to; null when none.
delegation_policy_idstringRequired
descriptionstring or nullRequired
late_action_request_typeActionRequestTypeRef or nullRequired
late_managerUserRef or nullRequiredThe user late items escalate to; null when none.
late_manager_due_daysinteger or nullRequired
namestringRequired
rule_expressionstringRequired

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired