Users
customer's id
searches first & last names, nickname, & email using a query
GET /api/v1/customers/{customerId}/users?integration=cloud-assistant-cdr HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"_id": "text",
"createdAt": "2022-08-12T20:44:48Z",
"isSuperDelegate": true,
"email": "[email protected]",
"firstName": "text",
"jobTitle": "text",
"lastName": "text",
"nickname": "text",
"updatedAt": "2022-08-12T20:44:48Z",
"status": "active",
"seniority": "text",
"department": "text",
"office": "text",
"customer": {
"_id": "text",
"fullName": "text",
"tenant": {
"_id": "text",
"description": "text",
"name": "iad"
},
"customerSegment": "strategic",
"vertical": "legal"
},
"delegators": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
]
}
],
"delegates": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"permissions": {}
}
],
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
],
"roles": [
{
"_id": "text",
"name": "text",
"permissions": [
{
"_id": "text",
"claim": "text",
"description": "text"
}
]
}
],
"superDelegatePermissions": {}
}
customer's id
GET /api/v1/customers/{customerId}/users/lookup HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
customer's id
user's id
GET /api/v1/customers/{customerId}/users/{userId} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"_id": "text",
"createdAt": "2022-08-12T20:44:48Z",
"isSuperDelegate": true,
"email": "[email protected]",
"firstName": "text",
"jobTitle": "text",
"lastName": "text",
"nickname": "text",
"updatedAt": "2022-08-12T20:44:48Z",
"status": "active",
"seniority": "text",
"department": "text",
"office": "text",
"customer": {
"_id": "text",
"fullName": "text",
"tenant": {
"_id": "text",
"description": "text",
"name": "iad"
},
"customerSegment": "strategic",
"vertical": "legal"
},
"delegators": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
]
}
],
"delegates": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"permissions": {}
}
],
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
],
"roles": [
{
"_id": "text",
"name": "text",
"permissions": [
{
"_id": "text",
"claim": "text",
"description": "text"
}
]
}
],
"superDelegatePermissions": {}
}
customer's id
user's id
if set, will update users who delegate their work to this user
if set, will update user's first name
if set, will update user's job title
if set, will update user's last name
if set, will update user's nickname, can be empty
if set, will update roles that are assigned to the user
if set, will update user's seniority level
if set, will update user's department
if set, will update user's office
PATCH /api/v1/customers/{customerId}/users/{userId} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 267
{
"delegateIds": [
"text"
],
"firstName": "text",
"email": "[email protected]",
"jobTitle": "text",
"lastName": "text",
"nickname": "text",
"roleIds": [
"text"
],
"seniority": "text",
"department": "text",
"office": "text",
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
]
}
{
"_id": "text",
"createdAt": "2022-08-12T20:44:48Z",
"isSuperDelegate": true,
"email": "[email protected]",
"firstName": "text",
"jobTitle": "text",
"lastName": "text",
"nickname": "text",
"updatedAt": "2022-08-12T20:44:48Z",
"status": "active",
"seniority": "text",
"department": "text",
"office": "text",
"customer": {
"_id": "text",
"fullName": "text",
"tenant": {
"_id": "text",
"description": "text",
"name": "iad"
},
"customerSegment": "strategic",
"vertical": "legal"
},
"delegators": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
]
}
],
"delegates": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"permissions": {}
}
],
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
],
"roles": [
{
"_id": "text",
"name": "text",
"permissions": [
{
"_id": "text",
"claim": "text",
"description": "text"
}
]
}
],
"superDelegatePermissions": {}
}
customer's id
user's id
DELETE /api/v1/customers/{customerId}/users/{userId} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"_id": "text",
"createdAt": "2022-08-12T20:44:48Z",
"isSuperDelegate": true,
"email": "[email protected]",
"firstName": "text",
"jobTitle": "text",
"lastName": "text",
"nickname": "text",
"updatedAt": "2022-08-12T20:44:48Z",
"status": "active",
"seniority": "text",
"department": "text",
"office": "text",
"customer": {
"_id": "text",
"fullName": "text",
"tenant": {
"_id": "text",
"description": "text",
"name": "iad"
},
"customerSegment": "strategic",
"vertical": "legal"
},
"delegators": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
]
}
],
"delegates": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"permissions": {}
}
],
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
],
"roles": [
{
"_id": "text",
"name": "text",
"permissions": [
{
"_id": "text",
"claim": "text",
"description": "text"
}
]
}
],
"superDelegatePermissions": {}
}
customer's id
user's id
if set, will update user's first name
if set, will update user's job title
if set, will update user's last name
if set, will update user's nickname, can be empty
if set, will update roles that are assigned to the user
if set, will update user's seniority level
if set, will update user's department
if set, will update user's office
PATCH /api/v2/customers/{customerId}/users/{userId} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 309
{
"firstName": "text",
"email": "[email protected]",
"jobTitle": "text",
"lastName": "text",
"nickname": "text",
"roleIds": [
"text"
],
"seniority": "text",
"department": "text",
"office": "text",
"delegates": [
{
"userId": "text",
"permissions": [
{
"claim": "text"
}
]
}
],
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
]
}
{
"_id": "text",
"createdAt": "2022-08-12T20:44:48Z",
"isSuperDelegate": true,
"email": "[email protected]",
"firstName": "text",
"jobTitle": "text",
"lastName": "text",
"nickname": "text",
"updatedAt": "2022-08-12T20:44:48Z",
"status": "active",
"seniority": "text",
"department": "text",
"office": "text",
"customer": {
"_id": "text",
"fullName": "text",
"tenant": {
"_id": "text",
"description": "text",
"name": "iad"
},
"customerSegment": "strategic",
"vertical": "legal"
},
"delegators": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
]
}
],
"delegates": [
{
"_id": "text",
"firstName": "text",
"lastName": "text",
"permissions": {}
}
],
"identities": [
{
"type": "aderant",
"value": "text",
"customerId": "text"
}
],
"roles": [
{
"_id": "text",
"name": "text",
"permissions": [
{
"_id": "text",
"claim": "text",
"description": "text"
}
]
}
],
"superDelegatePermissions": {}
}
Last updated