List user access
This endpoint allows you to list the access of a specific user
Endpoint
GET /user/v1/users/{user_id}/access
Parameters
| Name | Location | Required | Type | Default value | Description |
|---|---|---|---|---|---|
| user_id | URL | Yes | Integer | The user identifier | |
| access_id | URL | Yes | Integer | The access identifier |
Response
A UserAccessListResult object.
Example Request
GET /user/v1/users/c0b48140-34cb-4187-acd7-aaa830dc97f9/access
Example Response
{
"message": "OK",
"data": {
"total": 3,
"results": [
{
"id": 433514,
"user": "c0b48140-34cb-4187-acd7-aaa830dc97f9",
"type": "api_connection",
"customer_id": 1234,
"roles": [
"CLIENTNMS_WEBSERVICE_EVENT_R",
"CLIENTNMS_WEBSERVICE_DNS_RW"
],
"last_login_at": null,
"language": "en",
"name": "New application API access",
"created_at": "2023-01-01T00:00:00+00:00",
"created_by": {
"id": "7a1506b9-9ce4-43f9-a6f0-e94ef4252277",
"firstname": "Company",
"lastname": "Administrator"
}
},
{
"id": 433515,
"user": "c0b48140-34cb-4187-acd7-aaa830dc97f9",
"type": "api_connection",
"customer_id": 1235,
"roles": [
"CLIENTNMS_WEBSERVICE_DNS_RW"
],
"last_login_at": null,
"language": "en",
"name": "Zone management API access",
"created_at": "2023-01-01T00:00:00+00:00",
"created_by": {
"id": "7a1506b9-9ce4-43f9-a6f0-e94ef4252277",
"firstname": "Company",
"lastname": "Administrator"
}
},
{
"id": 433516,
"user": "c0b48140-34cb-4187-acd7-aaa830dc97f9",
"type": "ui_connection",
"customer_id": 1234,
"roles": [],
"last_login_at": null,
"language": "fr",
"two_fa_enabled": true,
"created_at": "2023-01-02T00:00:00+00:00",
"created_by": {
"id": "7a1506b9-9ce4-43f9-a6f0-e94ef4252277",
"firstname": "Company",
"lastname": "Administrator"
}
}
]
}
}