Archives or unarchives the user with the specified id.

Archived objects can not be used any longer but still exist for being referenced by other entities. <Check title="Required Permissions" icon="key">The user must be an admin or have `project-manage-config:write` permissions.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

userIdstringRequiredformat: "uuid"
The id of the user.

Request

The model to archive or unarchive the user.
isArchivedbooleanOptional
Flags the entity as archived.

Response

OK
firstNamestring or null0-1000 characters
The firstname of the user.
lastNamestring or null0-1000 characters
The lastname of the user.
birthDatedatetime or null
The birthdate of the user.
genderstring or null0-25 characters
The gender of the user.
titlestring or null0-100 characters
The title of the user.
positionstring or null0-1000 characters
The position of the user.
languagestring or null0-25 characters

The language preference of the user in ISO 639-1 format.

idstringformat: "uuid"
The id of the user.
statusobject
The status of the user.
createdOndatetime
The date this user was created.
createdBystringformat: "uuid"
The id of the user who created this user.
updatedOndatetime
The date when this user was last updated.
updatedBystringformat: "uuid"
The id of the user who updated the entity.
isArchivedboolean
Whether this user is archived. Archived users are automatically inactive and only exist for reference purposes.
isDeactivatedboolean
Whether the user has been deactivated.
deactivatedOndatetime or null
The date the user was deactivated.
deletedOndatetime or null

The date the user was deleted (soft delete).

hasImageboolean
Whether the user has uploaded a profile image.
shouldMigrateToConnectboolean
Whether the user should be migrated to Connect.
userContactInfoslist of objects or null
The contact information assigned to this user.
resourceVersionlongRead-only
The version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.
tagslist of objects or null
The tags of this user.
teamslist of objects or null
The teams the user is associated to.
isExternalboolean

True if this entity is coming from an external workspace (awork Connect).

accountIdstring or nullformat: "uuid"
The account id of the user. Only used internally.

Errors

400
Bad Request Error
404
Not Found Error