curl -X PATCH 'https://api.example.com/projects/project_api' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Backend API Service"
}'
{
"id": "project_api",
"tenantId": "tenant_acme",
"workspaceId": "workspace_main",
"scopeId": "scope_project_api",
"name": "Backend API Service"
}
Update a project
curl -X PATCH 'https://api.example.com/projects/project_api' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Backend API Service"
}'
{
"id": "project_api",
"tenantId": "tenant_acme",
"workspaceId": "workspace_main",
"scopeId": "scope_project_api",
"name": "Backend API Service"
}
curl -X PATCH 'https://api.example.com/projects/project_api' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Backend API Service"
}'
{
"id": "project_api",
"tenantId": "tenant_acme",
"workspaceId": "workspace_main",
"scopeId": "scope_project_api",
"name": "Backend API Service"
}
Was this page helpful?