Create Project In Organization V2 Using POST
Create organization's project V2
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Project Admin | ✔️ | ✔️ |
Parent organization ID for the project
Configuration for the project
Show optional properties
{
"displayName": "string"
}
{
"description": "string",
"displayName": "string",
"parentProjectId": "string",
"subResourceServiceScopes": [
"string"
],
"type": "string",
"vrn": "string"
}
Description of the project
Name of the project
Parent project of this project
List of serviceDefinitionIds of allowed services for this project's children (Default is all)
Type of project (Default is CUSTOM)
vrn
Successful operation
"IdRefLinkDto Object"
id
refLink
Invalid request body
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Unauthorized
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The requested resource could not be found
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Conflict
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Internal Server Error
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"displayName:"string"}' https://{api_host}/csp/gateway/resource/api/v2/orgs/{orgId}/projects