Skip to main content
PUT
/
api
/
settings
curl -X PUT https://api.dyeink.com/api/settings \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "siteName": "My Updated Blog",
    "siteDescription": "A blog about web development",
    "githubLink": "https://github.com/myusername"
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "userId": "user123",
  "siteName": "My Updated Blog",
  "siteDescription": "A blog about web development",
  "customDomain": null,
  "subdomain": "blog-abc123",
  "twitterLink": null,
  "linkedinLink": null,
  "githubLink": "https://github.com/myusername",
  "websiteLink": null,
  "dribbbleLink": null,
  "huggingfaceLink": null,
  "leetcodeLink": null,
  "newsletterEmail": null,
  "domainStatus": null,
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-03-04T16:45:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/subratomandal/dyeink/llms.txt

Use this file to discover all available pages before exploring further.

Updates the authenticated user’s site settings. All fields are optional and only provided fields will be updated.

Authentication

Requires authentication via Authorization header with Bearer token.

Body Parameters

siteName
string
Display name of the site
siteDescription
string
Description of the site
customDomain
string | null
Custom domain for the site. Must be unique across all users.
subdomain
string | null
Subdomain for the site. Must be unique across all users.
Twitter/X profile URL
LinkedIn profile URL
GitHub profile URL
Personal website URL
Dribbble profile URL
Hugging Face profile URL
LeetCode profile URL
newsletterEmail
string | null
Newsletter subscription email address
domainStatus
string | null
Status of the custom domain. Possible values: pending, verified, active, failed, or null
verifyToken
string | null
Token used for domain verification

Response

Returns the updated settings object with all fields.
id
string
Unique identifier for the settings document
userId
string
ID of the user who owns these settings
siteName
string
Display name of the site
siteDescription
string
Description of the site
customDomain
string | null
Custom domain configured for the site
subdomain
string | null
Subdomain for the site
Twitter/X profile URL
LinkedIn profile URL
GitHub profile URL
Personal website URL
Dribbble profile URL
Hugging Face profile URL
LeetCode profile URL
newsletterEmail
string | null
Newsletter subscription email address
domainStatus
string | null
Status of the custom domain
createdAt
string
ISO 8601 timestamp when settings were created
updatedAt
string
ISO 8601 timestamp when settings were last updated
curl -X PUT https://api.dyeink.com/api/settings \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "siteName": "My Updated Blog",
    "siteDescription": "A blog about web development",
    "githubLink": "https://github.com/myusername"
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "userId": "user123",
  "siteName": "My Updated Blog",
  "siteDescription": "A blog about web development",
  "customDomain": null,
  "subdomain": "blog-abc123",
  "twitterLink": null,
  "linkedinLink": null,
  "githubLink": "https://github.com/myusername",
  "websiteLink": null,
  "dribbbleLink": null,
  "huggingfaceLink": null,
  "leetcodeLink": null,
  "newsletterEmail": null,
  "domainStatus": null,
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-03-04T16:45:00.000Z"
}

Build docs developers (and LLMs) love