GET /auth/users/{userId}
By using GET /auth/users/{userId} API, you can retrieve information about a specific User.
This will create the user and send a registration email to the created User’s email, with a registration code, and pointing him to complete his registration on IBM Digital Asset Haven Dashboard. The user is created without any permissions.
- Authentication
- Organization User (CustomerEmployee)
Service Account
- Required Permissions
Auth:Users:Read: Always required.- Authorizations
- Bearer Token: To authenticate API requests.
- X-DFNS-USERACTION
- User Action Signature: To sign the change-inducing API requests.
- Parameters
-
user: Minimum length:
1 - Request body
-
{ curl --request GET \ --url https://api.digitalassets.ibm.com/auth/users/{userId} \ --header 'Authorization: Bearer <token>' }' - Response
- 200: Success
{ "username": "<string>", "name": "<string>", "userId": "us-6b58p-r53sr-rlrd3l5cj3uc4ome", "kind": "AccountUser", "credentialUuid": "<string>", "orgId": "<string>", "isActive": true, "isServiceAccount": true, "isRegistered": true, "isSSORequired": true, "permissionAssignments": [ { "permissionName": "<string>", "permissionId": "<string>", "assignmentId": "<string>", "operations": [ "<string>" ] } ], "permissions": [ "<string>" ] }