Download OpenAPI specification:Download
Manage your resources across your tenant. Once a resource is added to the relevant app, it can be specified in an authentication request in order to grant the user access to only this resource.
Create a resource in a specific tenant.
Required permissions: resources:create, apps:create, [appId]:create.
{- "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,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Retrieve all resources created in the tenant.
Required permissions: resources:list, resources:read.
{- "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"
}
]
}Retrieve a specific resource by its URI.
Required permissions: resources:read, apps:read, [appId]:read.
{- "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"
}
}Update a specific resource.
Required permissions: resources:edit, apps:edit, [appId]:edit.
{- "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,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Delete a specific resource.
Required permissions: resources:delete, apps:delete, [appId]:delete.
{- "message": "Resource does not exist in tenant",
- "error_code": 404
}