Skip to main content

Get project tenant code

GET /v1/projects/me/tenant-code
devhttps://api.sandbox.ovok.com

Short tenant code on file for the caller’s current project, or null when one has not been assigned yet.

Responses

CodeDescription
200Success.
400The request could not be operated by the server.
401The resource owner or authorization server denied the request.
404The requested resource could not be found.
422The request could not be validated by the server.
500The server encountered an unexpected condition. Please try again later.

200TenantCodeResponseDto (application/json)

Tenant code lookup for the caller’s current project. Tenant codes are short, project-scoped identifiers used in URLs.

  • tenantCode: string (required) — Short tenant code on file, or null when not assigned yet.
  • projectId: string (required)

Example

{
"tenantCode": "acme",
"projectId": "7cb8a325-…"
}