directory
Resolve Tenant
Resolve a tenant by id or code — exactly one of the two query params is required, id wins if both are supplied. Returns the tenant's full record; note tenant.code is a shared join SECRET, so a caller resolving by code has already proven they hold it, but the field should not be re-echoed into a channel the customer can read.
get/directory/tenants/resolve
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/directory/tenants/resolve
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Query parameters
idstring
tenant UUID
codestring
tenant join code
Response
OK
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.