Obtém os dados de um tenant através do domínio.
Payload de entrada
{
//O dominio do tenant. Exemplo: senior.com.br
tenantDomain: "string"
}
Request
curl --location --request POST "https://api.senior.com.br/platform/tenant/getTenantByDomain" --header "Content-Type: application/json" --header "client_id: {client_id}" --header "Accept: application/json" --header "Authorization: Bearer {token}" --data-raw "{'tenantDomain': {string}}"
Response
{
"tenant": {
"name": "string",
"domain": "string",
"active": "boolean",
"master": "boolean",
"locale": "string",
"ready": "boolean",
"altDomains": [
"string"
]
}
}