Update or Insert Scope
POST/scopes-srv/scope
This API call enables the creation and updating of a scope and its subsequent addition to the resource protection, where necessary.
Note: This API is not allowed to create cidaas: scopes. If securityLevel is not specified, it defaults to "PUBLIC" for newly created scopes.
Scopes are relevant for:
- Managing permissions: Scopes can be used to secure your endpoints. The access token must contain the particular scope to be authorized.
- Controlling the user profile data returned in id_token and userinfo endpoint
Request
Responses
- 200
- 204
- 400
- 401
- 409
OK
No content
scopeKey cannot be empty or error parsing body data or not allowed to create cidaas scopes
Unauthorized
Conflict