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