Vai al contenuto principale
DELETE
/
api
/
v1
/
organizations
/
{organizationid}
/
users
/
{userid}
cURL
curl --request DELETE \
  --url https://app.aegister.com/api/v1/organizations/{organizationid}/users/{userid} \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": "<array>",
  "data": {
    "organization": 123,
    "user": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

organizationid
integer
obbligatorio
userid
string
obbligatorio

If the user is not already registered, this parameter can be 0.
In case is 0, the email field is required in the request body.

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
[]
data
object