---
title: "Updates a builder authorization"
method: PUT
path: "/builder/authorization"
tags: ["Builder authorizations"]
---

# Updates a builder authorization

`PUT /builder/authorization`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Request body

- PersonalMerchandisingAuthorizationUpdateModel: Personal merchandising authorization update model
  - `AuthorizationId` integer: Id of the authorization
  - `AuthorizationType` 'Basic' | 'BearerToken' | 'CustomHeaders'
  - `Token` string, nullable: Token for the authorization for Bearer authorization type
  - `UserName` string, nullable: Username for the authorization for Basic authorization type
  - `Password` string, nullable: Password for the authorization for Basic authorization type
  - `Headers` object, nullable: Headers for the authorization

## Response `200`

OK

- integer

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

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