auth

Team access status

Changed on

Returns whether the team is banned or blocked, and why it is blocked. A team-authenticated request may read only its own team.

get/unstable/teams/{teamID}/status

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/unstable/teams/{teamID}/status
  • Auth
    • HTTP bearer and API key in header X-Team-ID
    • or API key in header X-Admin-Token
    • or HTTP bearer

Path parameters

teamIDstring required

Identifier of the team, as its UUID or its public project ID (prj_)

Response

Successfully returned the team access status

isBannedboolean required

Whether the team is banned

isBlockedboolean required

Whether the team is blocked

blockedReasonstring nullable required

Why the team is blocked, if a reason was recorded

Changes