Skip to main content
POST
/
v1
/
tenants
/
{tenantId}
/
projects
Create Project
curl --request POST \
  --url https://api.example.com/v1/tenants/{tenantId}/projects \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <x-access-key>' \
  --header 'X-Signature: <x-signature>' \
  --header 'X-Timestamp: <x-timestamp>' \
  --data '
{
  "projectName": "<string>",
  "environment": "<string>",
  "description": "<string>"
}
'
{
  "project": {
    "projectId": "<string>",
    "tenantId": "<string>",
    "projectName": "<string>",
    "environment": "<string>",
    "status": "<string>",
    "createdAt": "<string>"
  }
}

Create Project

Create a new project within a tenant organization. Projects are used to isolate different applications or environments.

Authentication

X-Access-Key
string
required
API access key
X-Signature
string
required
HMAC-SHA256 signature
X-Timestamp
string
required
ISO 8601 timestamp

Path Parameters

tenantId
string
required
The tenant identifier

Request Body

projectName
string
required
Display name for the project
environment
string
default:"production"
Environment type (development, staging, production)
description
string
Project description

Response

project
object

Example

curl -X POST https://api.axonvault.io/v1/tenants/ten_abc123/projects \
  -H "X-Access-Key: ak_live_abc123" \
  -H "X-Signature: sha256=..." \
  -H "X-Timestamp: 2024-01-15T10:30:00Z" \
  -H "Content-Type: application/json" \
  -d '{
    "projectName": "Mobile App",
    "environment": "production",
    "description": "Production mobile application"
  }'
Response:
{
  "project": {
    "projectId": "proj_abc123",
    "tenantId": "ten_abc123",
    "projectName": "Mobile App",
    "environment": "production",
    "status": "active",
    "createdAt": "2024-01-15T10:30:00Z"
  }
}