Resources
Set API resource as default
Set an API resource as the default resource for the current tenant.
Each tenant can have only one default API resource. If an API resource is set as default, the previously set default API resource will be set as non-default. See this section for more information.
patch/api/resources/{id}/is-default
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/resources/{id}/is-default
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
idstring required
The unique identifier of the resource.
Request body
Response
The updated resource.
Changes
No recorded changes to this operation across all 8 revisions of this API.