curl --request POST \
--url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "An example name"
}'
{
"project": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"name": "Acme Corp",
"organizationId": "95b11417-f18f-457f-8804-68e361f9164f",
"projectEnvironments": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"environmentName": "live"
}
]
}
}
curl --request POST \
--url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "An example name"
}'
{
"project": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"name": "Acme Corp",
"organizationId": "95b11417-f18f-457f-8804-68e361f9164f",
"projectEnvironments": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"environmentName": "live"
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of organization
36
"95b11417-f18f-457f-8804-68e361f9164f"
Data to create a new project
The body is of type object
.
successful operation - project added
The response is of type object
.