- Home
- API Enriched
- Tenant And Identity
- web
- GET User and Role Assignments.
GET User and Role Assignments.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/custom/namespaces/example/user_roles';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/custom/namespaces/example/user_roles \ --header 'Authorization: <Authorization>'List enumerates users and their namespace roles for this tenant.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace Namespace to use.
Responses
Section titled “Responses”A successful response.
Allows user namespace roles retrieval.
object
List of user namespace roles.
Allows user namespace role retrieval.
object
Timestamp of user creation.
If set to true user is completely disabled including IDM.
Domain owner is the first user who registered or signed up the associated Tenant. User created via signup flow will have this value set to true. Few restrictions apply to this user w.r.t role update and deletion.
Email of the user object.
First name of the customer.
Group list must be associated to this user.
Last login timestamp when user successfully login to access VoltConsole.
Last name of the customer.
Name of the user.
Namespace of the user object (namespace where the user object is stored).
List of directly attached roles that the user has for each namespace.
Allows linking namespaces and roles.
object
Namespace the role applies to ’*’ value implies all namespaces Required: YES.
Users role for this namespace Required: YES.
Shows if OTP is enabled in IDM Provider.
Tenant that the user belongs to.
Example
{ "items": [ { "idm_type": "SSO", "sync_mode": "SELF", "tenant_type": "UNKNOWN", "type": "USER" } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example