---
title: "Update a Facebook token"
method: PUT
path: "/gdc/projects/{projectId}/dataload/download/facebook/tokens/{tokenId}"
tags: ["facebook"]
---

# Update a Facebook token

`PUT /gdc/projects/{projectId}/dataload/download/facebook/tokens/{tokenId}`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/projects/{projectId}/dataload/download/facebook/tokens/{tokenId}`
- Auth: none declared

## Request body

- FacebookTokenModify
  - `facebookToken` object, required
    - `notificationsEnabled` union
      - '0' | '1'
      - 0 | 1
      - boolean
    - `email` string, email
    - `label` string: Label of the Facebook account

## Response `204`

No Content - Token successfully modified

## Other responses

- `400`: Bad Request - Invalid request data
- `404`: Not Found - Token not found

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
