Get tenant details
This is especially useful when a Tenant Admin has multiple units and wants to create an account on a specific unit. All accounts created are associated with the units, each of which can have one or more memberships.
GETrequest to the
curl -X GET 'https://api.cloudflare.com/client/v4/user/tenants' \-H 'Content-Type: application/json' \-H 'x-auth-email: <EMAIL>' \-H 'x-auth-key: <API_KEY>'
A successful request will return an HTTP status of
200 and a response body containing tenant information, unit information, memberships, and tenant entitlements for all tenants administered by the user.