PATCH
/
projects
/
{projectIdOrName}
curl --request PATCH \
  --url https://api.withampersand.com/v1/projects/{projectIdOrName} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "updateMask": [
    "appName"
  ],
  "project": {
    "appName": "MailMonkey",
    "name": "mailmonkey-staging"
  }
}'
{
  "id": "my-project",
  "name": "mailmonkey-staging",
  "appName": "MailMonkey",
  "orgId": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79",
  "createTime": "2023-11-07T05:31:56Z",
  "updateTime": "2023-11-07T05:31:56Z",
  "entitlements": {
    "brandingRemoval": {
      "value": true
    }
  }
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

projectIdOrName
string
required

The Ampersand project ID or project name.

Body

application/json

Response

200
application/json
The updated project.

The response is of type object.