Update a member
Updates the a member in the current organization.
Authorizations:
bearerAuth
path Parameters
| id required | string The unique identifier of the member to update. |
Request Body schema: application/jsonrequired
| role | string Enum: "admin" "editor" "viewer" The new role to assign to the member (e.g., admin, member, viewer). |
Responses
Request samples
- Payload
Content type
application/json
{- "role": "admin"
}Response samples
- 400
- 401
- 404
- 500
Content type
application/json
{- "message": "string"
}Invite a user to an organization
Sends an invitation to a user to join the current organization.
Authorizations:
bearerAuth
Request Body schema: application/jsonrequired
| email required | string The email address of the user to invite. |
| role | string The role to assign to the user (e.g., admin, member, viewer). |
Responses
Request samples
- Payload
Content type
application/json
{- "email": "string",
- "role": "string"
}Response samples
- 400
- 401
- 500
Content type
application/json
{- "message": "string"
}Register a public SSH key for the authenticated user.
Authorizations:
bearerAuth
Request Body schema: application/jsonrequired
| name required | string The name of the key. |
| key required | string The key. |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "key-1",
- "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEaSkijEWFbnjixzWRw3u2spZZaeVeWO5/ymySevCvXh"
}Response samples
- 401
- 409
- 500
Content type
application/json
{- "message": "string"
}