Create a new organization
Creates a new organization with the provided details.
Authorizations:
bearerAuth
Request Body schema: application/jsonrequired
display_name required | string The human readable name of the organization. |
Responses
Request samples
- Payload
Content type
application/json
{- "display_name": "string"
}
Response samples
- 201
- 400
- 401
- 500
Content type
application/json
{- "id": "string",
- "name": "string",
- "display_name": "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"
}