---
title: "Update agency service"
method: PUT
path: "/api/agency-services/{id}"
tags: ["AgencyServices"]
---

# Update agency service

`PUT /api/agency-services/{id}`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/agency-services/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/agency-services/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates an existing agency service's name or service type

## Request body

- AgencyServiceUpdateRequest
  - `name` string
  - `service_type_id` integer

## Response `200`

Service Type details.

- AgencyServicesResource
  - `id` integer
  - `name` string
  - `service_type` AgencyServicesTypeResource[]
    - `id` integer
    - `name` string

---

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