Delete a project assignment role
Módulo Identity
DELETE/project-assignment-roles/{id}projectAssignmentRoles.delete
A project role held through a project assignment. Soft-deletes the project assignment role: it moves to Trash and can be restored for its table's retention period.
- Requiere la capacidad projects.members.manage.
- Alcances de OAuth: projects.
- Estados de error: 401, 404, 422, 429. Los errores son detalles de problema RFC 9457.
Parámetros de ruta y de consulta
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| id | string (uuid) | Sí | Identifier of the project assignment role. |
Respuesta 204: sin cuerpo.
Ejemplos de código
curl -X DELETE "$XOS_BASE_URL/project-assignment-roles/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f" \
-H "Authorization: Bearer $XOS_API_KEY"const { data } = await xos.projectAssignmentRoles.delete("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f");response = xos.project_assignment_roles.delete("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f")xos project-assignment-roles delete 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f