Skip to main content

Update Account

PATCH/accounts/{id}
Update an account's details. Change the account name, settings, or configuration. Only the fields you include will be updated-everything else stays the same. Account settings affect all events created within that account, so changes here can have wide-reaching effects.

When to use this

  • Renaming an account when a promoter rebrands
  • Updating account settings or configuration
  • Correcting account details after initial setup

Parameters

idpathrequired
string

Account ID

Request Body

namestringAccount name
status"active" | "inactive"Account status

Response

Account updated successfully

Notes

ℹ️Changes to account settings may affect all events within that account.
💡Only send the fields you want to change-omitted fields stay the same.
Code Samples

Update Account using the TypeScript SDK:

import { BackstageClient } from '@ticketlayer/backstage';

const client = new BackstageClient({
organisationSlug: 'your-org',
});
client.setAccessToken('YOUR_ACCESS_TOKEN');

// Update account
const updated = await client.account.update('{{ACCOUNT_ID}}', {
name: 'Updated Name',
// Add fields to update
});

console.log(`Updated account: ${updated.name}`);

Try It

Path Parameters
Account ID
Request Body
Account name
Account status

Related