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
255"An example name"
successful operation - project added
Show child attributes
36"95b11417-f18f-457f-8804-68e361f9164f"
"Acme Corp"
36"95b11417-f18f-457f-8804-68e361f9164f"
Was this page helpful?