Update a Project

Update various attributes and configurable settings for the given project. Only supplied values are updated.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization the project belongs to.

project_slug (string)
REQUIRED

The slug of the project to update.

Body Parameters

name (string)

The new name for the project.

slug (string)

The new slug for the project.

platform (string)

The new platform for the project.

isBookmarked (boolean)

In case this API call is invoked with a user context this allows changing of the bookmark flag.

Scopes

<auth_token> requires one of the following scopes:
  • project:write
PUT /api/0/projects/{organization_slug}/{project_slug}/
curl https://sentry.io/api/0/projects/{organization_slug}/{project_slug}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X PUT \
 -H 'Content-Type: application/json' \
 -d '{"name":"Plane Proxy","platform":"javascript","slug":"plane-proxy"}'
RESPONSESCHEMA
{
  "allowedDomains": [
    "http://example.com",
    "http://example.invalid"
  ],
  "avatar": {
    "avatarType": "letter_avatar",
    "avatarUuid": null
  },
  "color": "#bf803f",
  "dataScrubber": true,
  "dataScrubberDefaults": true,
  "dateCreated": "2018-11-06T21:20:19.624Z",
  "defaultEnvironment": null,
  "digestsMaxDelay": 1800,
  "digestsMinDelay": 300,
  "features": [
    "releases",
    "sample-events",
    "minidump",
    "servicehooks",
    "rate-limits",
    "data-forwarding"
  ],
  "firstEvent": null,
  "hasAccess": true,
  "id": "5",
  "isBookmarked": false,
  "isInternal": false,
  "isMember": true,
  "isPublic": false,
  "latestRelease": {
    "authors": [],
    "commitCount": 0,
    "data": {},
    "dateCreated": "2018-11-06T21:20:19.645Z",
    "dateReleased": null,
    "deployCount": 0,
    "firstEvent": "2018-11-06T21:20:19.718Z",
    "lastCommit": null,
    "lastDeploy": null,
    "lastEvent": "2018-11-06T21:20:19.718Z",
    "newGroups": 0,
    "owner": null,
    "projects": [
      {
        "name": "Plane Proxy",
        "slug": "plane-proxy"
      }
    ],
    "ref": null,
    "shortVersion": "21c04bd",
    "url": null,
    "version": "21c04bd8fa23cfd85f5f5867f18efd2cf13247bc"
  },
  "name": "Plane Proxy",
  "options": {
    "feedback:branding": true,
    "filters:blacklisted_ips": "",
    "filters:error_messages": "",
    "filters:releases": "",
    "sentry:csp_ignored_sources": "",
    "sentry:csp_ignored_sources_defaults": true,
    "sentry:reprocessing_active": false
  },
  "organization": {
    "avatar": {
      "avatarType": "letter_avatar",
      "avatarUuid": null
    },
    "dateCreated": "2018-11-06T21:19:55.101Z",
    "id": "2",
    "isEarlyAdopter": false,
    "name": "The Interstellar Jurisdiction",
    "require2FA": false,
    "slug": "the-interstellar-jurisdiction",
    "status": {
      "id": "active",
      "name": "active"
    }
  },
  "platform": "javascript",
  "platforms": [],
  "plugins": [
    {
      "assets": [],
      "author": {
        "name": "Sentry Team",
        "url": "https://github.com/getsentry/sentry"
      },
      "canDisable": true,
      "contexts": [],
      "description": "Integrates web hooks.",
      "doc": "",
      "enabled": false,
      "hasConfiguration": true,
      "id": "webhooks",
      "isTestable": true,
      "metadata": {},
      "name": "WebHooks",
      "resourceLinks": [
        {
          "title": "Bug Tracker",
          "url": "https://github.com/getsentry/sentry/issues"
        },
        {
          "title": "Source",
          "url": "https://github.com/getsentry/sentry"
        }
      ],
      "shortName": "WebHooks",
      "slug": "webhooks",
      "status": "unknown",
      "type": "notification",
      "version": "9.1.0.dev0"
    }
  ],
  "processingIssues": 0,
  "relayPiiConfig": null,
  "resolveAge": 0,
  "safeFields": [],
  "scrapeJavaScript": true,
  "scrubIPAddresses": false,
  "securityToken": "c55a4bdce20911e88eed88e9fe5cab71",
  "securityTokenHeader": null,
  "sensitiveFields": [],
  "slug": "plane-proxy",
  "status": "active",
  "storeCrashReports": false,
  "subjectPrefix": "[Sentry]",
  "subjectTemplate": "$shortID - $title",
  "team": {
    "id": "2",
    "name": "Powerful Abolitionist",
    "slug": "powerful-abolitionist"
  },
  "teams": [
    {
      "id": "2",
      "name": "Powerful Abolitionist",
      "slug": "powerful-abolitionist"
    }
  ],
  "verifySSL": false
}