Saltar al contenido principal
DELETE
/
v1
/
project
/
{project_id}
/
member
/
{profile_id}
Remove project member
import requests

url = "https://api.diga.io/v1/project/{project_id}/member/{profile_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "status": "error",
  "error_code": "CANNOT_REMOVE_LAST_ADMIN",
  "message": "Cannot remove the last admin from project 550e8400-e29b-41d4-a716-446655440000"
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

project_id
string<uuid>
requerido
profile_id
string<uuid>
requerido

Respuesta

Successful Response