PUT/auth/users/{userId}
By using PUT/auth/users/{userId} API, you can update a specific User.
- 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:
1isSSORequired
- Request body
-
{ curl --request PUT \ --url https://api.digitalassets.ibm.com/auth/users/{userId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-DFNS-USERACTION: <api-key>' \ --data '{ "isSSORequired": true }' - 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>" ] }