Skip to main content
PATCH
Rename a dub or move it to a project

Authorizations

Authorization
string
header
required

An API token from Settings → API in the Dubly web app, sent as Authorization: Bearer <token>.

Path Parameters

id
string<uuid>
required

The dub ID (path parameter). An unknown dub, a dub of another account and a deleted dub return 404.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Body

application/json
title
string

New title. Leading and trailing spaces are removed; the rest must be 1–500 characters, otherwise 400.

project_id
string<uuid> | null

Project to move the dub into — a project of your account (see GET /api/v1/projects). An unknown project or one of another account returns 404. null takes the dub out of its project.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

The dub's title and project after the request.

status
string
required
Allowed value: "success"
response
object
required