DELETE
/
member
curl --request DELETE \
  --url https://app.happyrobot.ai/api/v1/member \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "email": "<string>"
}'
{
  "id": "<string>",
  "name": "Happyrobot",
  "description": "A company that builds AI assistants.",
  "api_key": "<string>",
  "image_url": "<string>",
  "members": [
    {
      "email": "jsmith@example.com",
      "role": "Owner"
    }
  ],
  "twilio_credentials": {
    "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXX",
    "auth_token": "your_auth_token"
  }
}

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Body

application/json
email
string
required

The member's email.

Response

200 - application/json
id
string
required

The organization's unique identifier.

name
string
required

The organization's name.

description
string

The organization's description.

api_key
string
required

The organization's API key.

image_url
string

The organization's logo. Can be a URL or a base64 encoded image.

members
object[]
required

The organization's members.

twilio_credentials
object

The organization's Twilio credentials.