Skip to main content
DELETE
/
v1
/
users
/
{id}
Delete an user
curl --request DELETE \
  --url https://api.rootly.com/v1/users/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "attributes": {
      "email": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "full_name": "<string>",
      "full_name_with_team": "<string>",
      "time_zone": "<string>"
    },
    "relationships": {
      "role": {
        "data": {
          "id": "<string>"
        }
      },
      "on_call_role": {
        "data": {
          "id": "<string>"
        }
      }
    }
  },
  "included": [
    {
      "id": "<string>",
      "type": "<string>",
      "attributes": {},
      "relationships": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

user deleted

data
object
required
included
object[]