The Attributes API allows you to control specific settings for Okta Privileged Access users and groups.
Lists all attribute conflicts for a team
OK
{- "list": [
- {
- "attribute_name": "unix_user_name",
- "attribute_value": "Sec.Admin",
- "id": "11faefa1-6b59-4a5a-9492-43195cd07385",
- "is_service_user": false,
- "user_name": "OPA.User.1"
}, - {
- "attribute_name": "unix_user_name",
- "attribute_value": "Sec.Admin",
- "id": "11faefa1-6b59-4a5b-9492-43195cd07385",
- "is_service_user": false,
- "user_name": "OPA.User.2"
}, - {
- "attribute_name": "unix_gid",
- "attribute_value": 1001,
- "id": "b06dfc59-ae9c-4q43-b583-96d09988fd84",
- "user_name": "OPA.User.3"
}, - {
- "attribute_name": "unix_gid",
- "attribute_value": 1001,
- "id": "ff2c0f25-b73d-4t20-8aeb-b6c39a68a204",
- "is_service_user": true,
- "user_name": "OPA.User.4"
}
]
}Lists all attribute options configured for the team, such as unix_uid or unix_gid ranges
OK
Bad request
{- "list": [
- {
- "namespace": "user",
- "attribute_name": "unix_uid",
- "details": {
- "min": 1001,
- "max": 4294967295
}
}, - {
- "namespace": "user",
- "attribute_name": "unix_gid",
- "details": {
- "min": 1001,
- "max": 4294967295
}
}, - {
- "namespace": "group",
- "attribute_name": "unix_gid",
- "details": {
- "min": 1001,
- "max": 4294967295
}
}
]
}Retrieves the attribute range option for the specified namespace and attribute
OK
Bad request
{- "attribute_name": "unix_uid",
- "details": {
- "max": 1001,
- "min": 1001
}, - "namespace": "user",
- "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
- "updated_at": "2019-08-24T14:15:22Z"
}Creates or updates the attribute option (the minimum and maximum range) for the specified namespace and attribute
Created or updated successfully
Bad request
{- "namespace": "user",
- "attribute_name": "unix_uid",
- "details": {
- "min": 1001,
- "max": 4294967295
}
}{- "attribute_name": "unix_uid",
- "details": {
- "max": 1001,
- "min": 1001
}, - "namespace": "user",
- "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
- "updated_at": "2019-08-24T14:15:22Z"
}Deletes the attribute option for the specified namespace and attribute
No Content
Lists all attributes for a specified group
OK
{- "list": [
- {
- "id": "36844d7c-f311-4a42-866c-f32a5a41e213",
- "attribute_name": "unix_group_name",
- "attribute_value": "group_old",
- "managed": false
}, - {
- "id": "8eb50e3f-ef90-4215-b358-9318b35867de",
- "attribute_name": "windows_group_name",
- "attribute_value": "group_new",
- "managed": false
}
]
}Retrieves an attribute for a group.
OK
{- "attribute_name": "unix_group_name",
- "attribute_value": "group_old",
- "id": "36844d7c-f311-4a42-866c-f32a5a41e213",
- "managed": false
}Updates an attribute for a group
No Content
{- "attribute_name": "unix_group_name",
- "attribute_value": "new_name"
}Lists all attributes for a specified user
OK
{- "list": [
- {
- "id": "11faefa1-6b59-4a52-9492-43195cd07385",
- "attribute_name": "unix_user_name",
- "attribute_value": "augusta_ada_king",
- "managed": true
}, - {
- "id": "11faefa1-6b59-4a52-9492-43195cd07385",
- "attribute_name": "unix_uid",
- "attribute_value": 1210,
- "managed": true
}, - {
- "id": "b06dfc59-ae9c-4243-b583-96d09988fd84",
- "attribute_name": "unix_gid",
- "attribute_value": 1210,
- "managed": true
}, - {
- "id": "ff2c0f25-b73d-4720-8aeb-b6c39a68a204",
- "attribute_name": "windows_user_name",
- "attribute_value": "augusta_ada_king",
- "managed": true
}
]
}Retrieves an attribute for a user
OK
{- "attribute_name": "unix_user_name",
- "attribute_value": "augusta_ada_king",
- "id": "11faefa1-6b59-4a52-9492-43195cd07385",
- "managed": true
}Updates an attribute for a user
No Content
{- "attribute_name": "unix_user_name",
- "attribute_value": "ada_lovelace"
}