Update a specific resource.
Required permissions: resources:edit, apps:edit, [appId]:edit.
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/{resourceId}
- US production environmenthttps://api.transmitsecurity.io/cis/v1/resources/{resourceId}
- EU production environmenthttps://api.eu.transmitsecurity.io/cis/v1/resources/{resourceId}
- CA production environmenthttps://api.ca.transmitsecurity.io/cis/v1/resources/{resourceId}
- AU production environmenthttps://api.au.transmitsecurity.io/cis/v1/resources/{resourceId}
- JP production environmenthttps://api.gasne1-ts01.transmitsecurity.io/cis/v1/resources/{resourceId}
curl -i -X PUT \
'https://api.sbx.transmitsecurity.io/cis/v1/resources/{resourceId}' \
-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" } }