Creates a single OauthServerClient
Query parameters
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
POST
/api/opendata/oauth/server_clients
curl \
--request POST 'https://replace-with-own-host.iw-erp.de/api/opendata/oauth/server_clients' \
--header "x-session-token: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"data":{"name":"string","scopes":"string","redirect_uri":"string","active":true,"allow_plain_text_pkce":true,"confidential":true}}'
Request examples
{
"data": {
"name": "string",
"scopes": "string",
"redirect_uri": "string",
"active": true,
"allow_plain_text_pkce": true,
"confidential": true
}
}
Response examples (200)
{
"identifier": "string",
"name": "string",
"scopes": "string",
"redirect_uri": "string",
"image_url": "string"
}