Identities store the credentials Nexterm uses to authenticate to your servers — SSH keys, passwords, or both. They can be personal (only you can use them) or shared across an organization. Identities are referenced by ID when creating or updating entries. All endpoints require authentication viaDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/gnmyt/Nexterm/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer YOUR_TOKEN. Identity operations are audit-logged when an organizationId is involved.
GET /api/identity/list
Returns all identities accessible to the authenticated user: personal identities owned by the user plus any identities belonging to organizations the user is a member of.Response
Returns an array of identity objects.Unique identity identifier.
Display name of the identity.
The login username this identity authenticates as.
Credential type. One of
password, ssh, both, or password-only.ID of the owning organization, or
null for personal identities.Sensitive fields such as passwords, SSH private keys, and passphrases are never returned by the list endpoint.
PUT /api/identity
Creates a new identity.Request body
Display name for the identity. Between 3 and 255 characters.
Credential type. One of
password, ssh, both, or password-only.The login username. Maximum 255 characters.
Password for
password, both, or password-only type identities.PEM-encoded private SSH key for
ssh or both type identities.Passphrase protecting the SSH private key, if applicable.
ID of the organization to create this identity under. Omit for a personal identity.
Response
ID of the newly created identity.
Confirmation message.
PATCH /api/identity/:identityId
Updates an existing identity. At least one field must be provided.Path parameters
Unique identifier of the identity to update.
Request body
At least one of the following fields is required.New display name. Between 3 and 255 characters.
Updated login username.
Updated credential type. One of
password, ssh, both, or password-only.New password value.
New PEM-encoded private SSH key.
New passphrase for the SSH key.
Move the identity to a different organization.
Response
Confirmation message.
DELETE /api/identity/:identityId
Permanently deletes an identity. Personal identities can only be deleted by their owner. Organization identities can be deleted by any member of that organization.Path parameters
Unique identifier of the identity to delete.
Response
Confirmation message.
POST /api/identity/:identityId/move
Moves a personal identity into an organization, making it accessible to all organization members. Only the identity’s owner can perform this action.Path parameters
Unique identifier of the personal identity to move.
Request body
ID of the target organization.
Response
Confirmation message.
The updated identity object reflecting its new organization scope.