Bloss Docs

Rename the agency or change its URL

Developers
PATCH
/agencies/{orgId}

Change the agency's name (2+ characters) or slug (2+ lowercase letters, numbers and hyphens; the agency's web address), as agency Settings does. A slug another agency uses answers 409. Changing the slug changes the agency's links. Owners and admins only.

Authorization

bearerAuth agency:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: agency:write

Path Parameters

orgId*string

An agency id from GET /agencies.

Length1 <= length

Request Body

application/json
  1. body
name?string
Lengthlength <= 200
slug?string
Lengthlength <= 100

Response Body

Success.

application/json
  1. response
id*string
name*string
slug*string
curl -X PATCH 'https://example.com/api/v1/agencies/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "id": "string",  "name": "string",  "slug": "string"}

Was this page helpful?