# Create/Update OAuth client Update an OAuth client. Endpoint: PUT /oauth-clients Version: 0.0.1 Security: o_auth ## Request fields (application/json): - `callbacks` (array) - `clientId` (string) - `grantTypes` (array, required) Enum: "authorization_code", "client_credentials", "password", "refresh_token" - `name` (string, required) - `organisationId` (string, required) Example: "532ec32c-6f32-457f-8285-3438b2599d9b" ## Response 201 fields (application/json): - `callbacks` (array) - `clientId` (string) - `clientSecret` (string) - `grantTypes` (array, required) Enum: "authorization_code", "client_credentials", "password", "refresh_token" - `name` (string, required) ## Response 400 fields (application/json): - `code` (integer) - `message` (string) ## Response 401 fields (application/json): - `code` (integer) - `message` (string) ## Response 403 fields (application/json): - `code` (integer) - `message` (string) ## Response 404 fields (application/json): - `code` (integer) - `message` (string) ## Response 412 fields (application/json): - `code` (integer) - `message` (string) ## Response 422 fields (application/json): - `code` (integer) - `message` (string) ## Response 204 fields ## Response 500 fields