Organizations enable multi-user collaboration in Nexterm. Members of an organization share access to entries, folders, identities, scripts, and snippets that are assigned to the organization. The authenticated user who creates an organization becomes its owner and is responsible for managing membership. 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.
GET /api/organization
Returns a list of all organizations that the authenticated user belongs to or owns.Response
Returns an array of organization summaries.Unique organization identifier.
Display name of the organization.
Optional description of the organization.
The authenticated user’s role within the organization (e.g.
owner, member).PUT /api/organization
Creates a new organization. The authenticated user is automatically set as the owner.Request body
Display name for the organization. Between 1 and 100 characters.
Optional description. Maximum 500 characters.
Response (201)
ID of the newly created organization.
Organization name.
GET /api/organization/:id
Returns detailed information about a specific organization. The authenticated user must be a member.Path parameters
Unique identifier of the organization.
Response
Organization identifier.
Organization name.
Organization description.
PATCH /api/organization/:id
Updates an existing organization’s name or description. Only the organization owner can call this endpoint.Path parameters
Unique identifier of the organization.
Request body
At least one field is required.New display name. Between 1 and 100 characters.
New description. Maximum 500 characters. Pass an empty string to clear it.
Response
Returns the updated organization object.DELETE /api/organization/:id
Permanently deletes an organization and all associated data. Only the organization owner can call this endpoint.Path parameters
Unique identifier of the organization.
Response
Returns a confirmation object.GET /api/organization/:id/members
Returns a list of all members in an organization. The authenticated user must be a member of the organization.Path parameters
Unique identifier of the organization.
Response
Returns an array of member objects.Account ID of the member.
Username of the member.
The member’s role within the organization.
POST /api/organization/:id/invite
Sends an invitation to another user to join the organization. Only the organization owner can invite users.Path parameters
Unique identifier of the organization.
Request body
Username of the account to invite.
Response
Returns a confirmation object.DELETE /api/organization/:id/members/:accountId
Removes a member from an organization. Only the organization owner can remove members.Path parameters
Unique identifier of the organization.
Account ID of the member to remove.
Response
Returns a confirmation object.GET /api/organization/invitations/pending
Returns a list of all pending organization invitations for the authenticated user.Response
Returns an array of invitation objects.Invitation identifier.
ID of the inviting organization.
Name of the inviting organization.
POST /api/organization/invitations/:id/respond
Accepts or declines a pending organization invitation.Path parameters
Unique identifier of the invitation.
Request body
Pass
true to accept the invitation, false to decline.Response
Returns a confirmation object.POST /api/organization/:id/leave
Allows the authenticated user to leave an organization they are a member of. Organization owners cannot leave — they must transfer ownership or delete the organization first.Path parameters
Unique identifier of the organization.