Get the tenant's environment order
GET
/v1/environment-orders/tenant
const url = 'https://example.com/v1/environment-orders/tenant';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/environment-orders/tenant \ --header 'Authorization: Bearer <token>'The tenant’s own environment order; empty when it was never set or was cleared. A project the caller can’t read is named by its position alone.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The order.
Missing / malformed / expired / revoked bearer token.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}