Organizations
Update Organization Users
Changed onUpdate 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.
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-8for the response with the status - breaking
removed the media type
application/json; charset=utf-8for the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the optional property
to the response with the status
- breaking
- breaking
added the new required
headerrequest parameterAcceptto all path's operations - info
the endpoint scheme security
kindeBearerAuthwas added to the API - info
the endpoint scheme security
ManagementAPIwas removed from the API
- breaking