Skip to main content
DELETE
https://{teamSlug}.teams.auth0.com
/
api
/
members
/
{id}
/
tenants
Remove a team member's tenant access
curl --request DELETE \
  --url https://{teamSlug}.teams.auth0.com/api/members/{id}/tenants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenants": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "status_code": 123,
  "message": "<string>",
  "summary": {
    "total_count": 123,
    "success_count": 123,
    "failure_count": 123
  },
  "success": [
    {
      "tenant_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ]
    }
  ],
  "failure": [
    {
      "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs-dev.auth0-mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The unique ID of the team member.

Body

application/json

The tenants to remove for the team member.

tenants
string<uuid>[]
required

Specifies list of tenant IDs to be removed

Required array length: 1 - 10 elements

Unique identifier of the tenant

Response

Operation completed with errors

status_code
integer
required

Status code for partial response

message
string
required

Describing the partial error scenario

summary
object
required

Summary of the bulk tenant operation

success
object[]
required

List of all tenant ids that were removed

failure
object[]
required

List of failed instances