Organizations

White Label Admin - Create a new project within white label context.

Changed on

Create a new free tier project. This is an API only available to white label admins.

post/api/organizations/{organizationId}/whitelabel/projects

Request

Path parameters

organizationIdinteger required

Organization ID

Request body

projectNamestring required

The name of the project.

projectVisibility'public' | 'private'

The visibility of the project, either public or private. Public projects can be viewed by anyone on the internet and edited by collaborators. Private projects can only be viewed and edited by collaborators.

ownerIdinteger

Unique identifier of the owner of the new project. Either this parameter or ownerEmail must be set.

ownerEmailstring

Email of the owner of the new project. Either this parameter or ownerId must be set.

createApiKeyboolean

Whether to create an API key. If set to FALSE, the "apiKey" property on the response will be empty. If this field is not set, it will default to TRUE.

Example request

{
  "projectName": "My project",
  "ownerId": 1,
  "ownerEmail": "groucho@marxbros.com"
}

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

idinteger required

Project ID for the new project

apiKeystring required

API key for the new project

Changes