Returns the details of the newly created OAuth scope.
If successful, this endpoint will return a 201 Created status.
One of the following scopes are required to use this endpoint.
The following arguments are supported for this endpoint.
Name | Type | Default Value |
---|---|---|
properties Required |
OAuthScopeCreateProperties | None |
The following errors may occur during this request.
Details | HTTP status |
---|---|
An error ocurred with the input provided |
422 Unprocessable Entity |
When the request is successful, you can expect an object matching the specification below to be returned.
{ oauth_scope: OAuthScope { name: String title: String description: String? read_only: Boolean restricted: Boolean sensitive: Boolean type: OAuthScopeTypeEnum } }