Organizations

Update Organization Users

Changed on

Update users that belong to an organization.

<div> <code>update:organization_users</code> </div>
patch/api/v1/organizations/{org_code}/users

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/organizations/{org_code}/users
  • Auth: HTTP bearer

Path parameters

org_codestring required

The organization's code.

Request body

Example request

{
  "users": [
    {
      "id": "kp_057ee6debc624c70947b6ba512908c35",
      "operation": "delete",
      "roles": [
        "manager"
      ],
      "permissions": [
        "admin"
      ]
    }
  ]
}

Response

Users successfully removed.

messagestring
codestring
users_addedstring[]
users_updatedstring[]
users_removedstring[]

Example response

{
  "message": "Success",
  "code": "OK",
  "users_added": [
    "kp_057ee6debc624c70947b6ba512908c35"
  ],
  "users_updated": [
    "kp_057ee6debc624c70947b6ba512908c35"
  ],
  "users_removed": [
    "kp_057ee6debc624c70947b6ba512908c35"
  ]
}

Changes

    • breaking

      removed the media type application/json; charset=utf-8 for the response with the status

    • breaking

      removed the media type application/json; charset=utf-8 for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      added the new required header request parameter Accept to all path's operations

    • info

      the endpoint scheme security kindeBearerAuth was added to the API

    • info

      the endpoint scheme security ManagementAPI was removed from the API