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 nullOptional0-1000 characters
The firstname of the user.
lastNamestring or nullOptional0-1000 characters
The lastname of the user.
birthDatestring or nullOptionalformat: "date-time"
The birthdate of the user.
genderstring or nullOptional0-25 characters
The gender of the user.
titlestring or nullOptional0-100 characters
The title of the user.
positionstring or nullOptional0-1000 characters
The position of the user.
languagestring or nullOptional0-25 characters

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

idstringOptionalformat: "uuid"
The id of the user.
statusobjectOptional
The status of the user.
createdOnstringOptionalformat: "date-time"
The date this user was created.
createdBystringOptionalformat: "uuid"
The id of the user who created this user.
updatedOnstringOptionalformat: "date-time"
The date when this user was last updated.
updatedBystringOptionalformat: "uuid"
The id of the user who updated the entity.
isArchivedbooleanOptional
Whether this user is archived. Archived users are automatically inactive and only exist for reference purposes.
isDeactivatedbooleanOptional
Whether the user has been deactivated.
isAgentbooleanOptional
Whether this user represents an agent.
deactivatedOnstring or nullOptionalformat: "date-time"
The date the user was deactivated.
deletedOnstring or nullOptionalformat: "date-time"

The date the user was deleted (soft delete).

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

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

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

Errors

400
Bad Request Error
404
Not Found Error