Update a scope
PUT /api/scopes/:scope_id updates the identified scope resource
Required scope: scopes:manage:all
| Path Parameters |
|---|
scope_id string — REQUIRED |
| Request Body — REQUIRED |
|---|
scope objectid string | name string — REQUIRED | label string — REQUIRED | public boolean |
|
| Responses |
|---|
| Schema — OPTIONAL |
|---|
data object — OPTIONALid string — OPTIONAL | name string | label string | public boolean — OPTIONAL |
|
|
| Schema — OPTIONAL |
|---|
errors object — OPTIONAL |
|
401
The client is unauthorized to access this resource. | Schema — OPTIONAL |
|---|
code string | message string |
|
403
The client is forbidden to access this resource. | Schema — OPTIONAL |
|---|
code string | message string |
|
404
The requested resource could not be found. | Schema — OPTIONAL |
|---|
code string | message string |
|
422
The request payload is invalid. | Schema — OPTIONAL |
|---|
errors object — OPTIONAL |
|