Skip to main content

Delete multiple users

DELETE 

/api/web/v3/users/multiple

Delete multiple users. Caller requires the USERS:REMOVE permission.

Request

Body

required

    stopOnError boolean

    If set to true, the operation stops on the first operation that fails. Otherwise the operation continues for each specified user. If not specified, this defaults to false.

    users

    object[]

    required

    The list of users to be deleted.

  • Array [

  • id stringrequired

    The id of the user to be deleted. The type of the id is specified by idType.

    idType string

    Possible values: [UUID, USERID, EXTERNALID]

    The type of the id identifying the user. The value can be one of UUID (the user's internal UUID), USERID (the user's userId) or EXTERNALID (the externalId of the user). If not specified, this defaults to UUID.

  • ]

Responses

Successful

Schema

  • Array [

  • error

    object

    Object containing information about errors reported by services.

    errorCode string

    Error Codes specific to cause of failure.

    errorMessage string

    Additional Error Message describing the error.

    parameters object[]

    Optional additional error information.

    success booleanrequired

    Indicates if the user was successfully deleted (true) or not (false).

  • ]

Loading...