Resources are the protected endpoints that applications request access to using OAuth 2 authorization services. A resource access grant specifies the identifier of the resource associated with the specified application.
Property | Description |
---|---|
application.id |
A string that specifies the application resource ID. |
createdAt |
The time the resource was created. |
id |
A string that specifies the application resource grant ID. |
resource.id |
A string that specifies the ID of the protected resource associated with this grant. This is a required property. |
scopes.id |
A array that specifies the IDs of the scopes associated with this grant. This is a required property. |
updatedAt |
The time the resource was last updated. |
Code | Message |
---|---|
200 | Successful operation. |
201 | Successfully created. |
204 | Successfully removed. No content. |
400 | The request could not be completed. |
401 | You do not have access to this resource. |
403 | You do not have permissions or are not licensed to make this request. |
404 | The requested resource was not found. |
500 | An unexpected error occurred. |