Updates a single OauthServerClientPermission
Path parameters
-
clientIdentifier
string Required
Query parameters
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
PATCH
/api/opendata/oauth/server_clients_permission/{clientIdentifier}
curl \
--request PATCH 'https://replace-with-own-host.iw-erp.de/api/opendata/oauth/server_clients_permission/{clientIdentifier}' \
--header "x-session-token: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"data":{"scopes":"string","active":true}}'
Request examples
{
"data": {
"scopes": "string",
"active": true
}
}
Response examples (200)
{
"id": 42,
"scopes": "string",
"active": true,
"is_dg": true,
"selected_customer": {
"id": 42,
"slackchannel": "string",
"displayname": "string",
"deleted": true,
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z"
},
"name": "string"
}