コンテンツにスキップ

List admin user attribute values

GET
/api/admin/admins/{userId}/attributes
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/admin/admins/example/attributes \
--header 'Authorization: Bearer <token>'

Lists ABAC attribute values assigned to an admin user.

userId
required
string

Admin user ID.

Admin attribute values assigned to a user.

Media type application/json
object
items
required
Array<object>
object
id
string
tenant_id
string
admin_user_id
string
admin_attribute_id
string
value
string
value_index
integer
source
string
expires_at
One of:
integer
assigned_by
One of:
string
created_at
integer
updated_at
integer
key
additional properties
total
required
integer
key
additional properties
Example
{
"items": [
{
"id": "attr_value_123",
"tenant_id": "tenant_123",
"admin_user_id": "admin_123",
"admin_attribute_id": "attr_department",
"value": "security",
"value_index": 0,
"source": "manual",
"expires_at": null,
"assigned_by": "admin_owner",
"created_at": 1770000000000,
"updated_at": 1770000000000
}
],
"total": 1
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}