Create a resource in a specific tenant
{- "name": "My Resource",
- "description": "string",
- "uri": "string",
- "access_token_ttl": 0,
- "refresh_token_ttl": 0,
- "max_refresh_rotate": 0
}
{- "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
}
}
curl -i -X GET \ https://api.transmitsecurity.io/cis/v1/resources \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "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
}
]
}
curl -i -X GET \ 'https://api.transmitsecurity.io/cis/v1/resources/uri?resourceUri=string' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "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
}
}
Update a specific resource
{- "name": "My Resource",
- "description": "string",
- "uri": "string",
- "access_token_ttl": 0,
- "refresh_token_ttl": 0,
- "max_refresh_rotate": 0
}
{- "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
}
}
curl -i -X DELETE \ 'https://api.transmitsecurity.io/cis/v1/resources/{resourceId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "message": "Resource does not exist in tenant",
- "error_code": 404
}