Users V2

Modify User Default Organization

Changed on

Use this API to modify the default organization for a specific user. The user must have at least one role in the specified organization.

patch/api/access/v2/users/{userId}/default-organization

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/access/v2/users/{userId}/default-organization
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: USER, USER_WRITE

Path parameters

userIdstring uuid required

The unique identifier of the user.

Query parameters

organizationIdstring uuid required

The unique identifier of the organization to set as default.

Response

Default organization updated successfully

Changes

    • info

      the security scope USER_WRITE was added to the endpoint's security scheme Platform-AccessManagement_OAUTH2