Create a resource in a specific tenant.
Required permissions: resources:create, apps:create, [appId]:create.
Security
ClientAccessToken
URI that identifies the resource, which is reflected in the audience (aud claim) of the access token
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/resources
- US production environmenthttps://api.transmitsecurity.io/cis/v1/resources
- EU production environmenthttps://api.eu.transmitsecurity.io/cis/v1/resources
- CA production environmenthttps://api.ca.transmitsecurity.io/cis/v1/resources
- AU production environmenthttps://api.au.transmitsecurity.io/cis/v1/resources
- JP production environmenthttps://api.gasne1-ts01.transmitsecurity.io/cis/v1/resources
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/resources \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "My Resource",
"description": "string",
"uri": "string",
"access_token_ttl": 0,
"refresh_token_ttl": 0,
"max_refresh_rotate": 0
}'Response
{ "result": { "resource_id": "string", "tenant_id": "string", "name": "string", "description": "string", "uri": "string", "access_token_ttl": 0, "refresh_token_ttl": 0, "max_refresh_rotate": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }