DevZero Logo

DevZero

Delete a user's personal access token

DELETE
/users/{user_id}/pat/{pat_id}

Path Parameters

pat_idstring

ID of pat

user_idstring

ID of user

Header Parameters

Authorizationstring

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

Response Body

curl -X DELETE "https://api.devzero.io/backend/v0/users/string/pat/string" \
  -H "Authorization: string"
Empty
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}