Step 2: Create a custom resource
POST {{apiPath}}/environments/{{envID}}/resources
Resources are the protected endpoints that applications request access to using OAuth 2 authorization services. For this activity, you will create a custom resource.
The POST /environments/{{envID}}/resources
creates a custom resource entity associated with the specified environment. The resource entity ID for for this resource is needed in Step 5 when you create the application's resource access grant.
Request Body
{"name"=>"CustomResource_{{$timestamp}}", "description"=>"this is my resource"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |