Users

Delete user

Deletes a user.

DELETE
/organizations/{organizationId}/users/{userId}
x-api-key<token>

In: header

Path Parameters

organizationIdstring
Formatuuid
userIdstring
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/users/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '[    null  ]'
{
  "inviteCode": [
    null
  ],
  "inviteDate": [
    null
  ],
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "dateCreated": 0,
  "dateUpdated": 0,
  "email": "user@example.com",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
  "organizationName": "string",
  "status": "pending",
  "name": "string",
  "notes": "string",
  "permissions": [
    {
      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
      "projectName": "string",
      "role": "owner"
    }
  ],
  "account": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "firstName": "string",
    "lastName": "string",
    "email": "string",
    "phoneNumber": "string"
  }
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "string"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Forbidden"
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "Forbidden"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not Found"
}
{
  "statusCode": 422,
  "error": "Unprocessable Entity",
  "message": "string"
}
{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "Internal Server Error"
}