Delete User By ID
DELETE/api/users/:id
Delete a User with given ID.
You can find more information about user management here.
Tokens
- A valid
AccessTokenwithADMINpermissions is required.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 415
- 500
The users.
The following error codes correspond to this status:
BAD_FILE_REQUEST: Thrown when the file request is malformed or invalid.
The following error codes correspond to this status:
ACCESS_TOKEN_EXPIRED: Indicates that the access token is expired.ACCESS_TOKEN_INVALID: Indicates that the access token cannot be decoded.AUTHENTICATION_REQUIRED: User is not authenticated.
The following error codes correspond to this status:
ROLE_REQUIRED: Principal does not have required role.FILE_ACCESS_NOT_AUTHORIZED: Thrown when access to the requested file is not permitted.
The following error codes correspond to this status:
USER_NOT_FOUND: User not found.FILE_NOT_FOUND: Thrown when the requested file is not found.DATABASE_ENTITY_NOT_FOUND: Exception representing a failure to find a database entity.
The following error codes correspond to this status:
FILE_KEY_TAKEN: This exception is thrown when attempting to store a file with a file key that is already taken or in use.
The following error codes correspond to this status:
UNSUPPORTED_MEDIA_TYPE: Thrown when a request is made with an unsupported media type.
The following error codes correspond to this status:
ACCESS_TOKEN_ALLOWLIST_READING_FAILURE: Represents an exception indicating a failure when reading the allowlist for an access token cache.DATABASE_FAILURE: Exception representing a general failure related to database operations.DATABASE_ENCRYPTION_FAILURE: Exception representing a general failure related to database encryption operations.FILE_METADATA_FAILURE: Thrown to indicate that a failure occurred during the handling of file metadata which is stored in the database.FILE_METADATA_OUT_OF_SYNC: Represents an exception thrown when file metadata saved in the database is out of sync with the expected state of the actual file.FILE_OPERATION_FAILURE: Represents an error that occurred during a file operation, such as saving or updating a file.FILE_STREAM_FAILURE: Thrown when an error occurred during a file stream.