Skip to content

Update current workspace

PATCH
/workspace/current
Code sample: Shell / cURL
curl --request PATCH \
--url https://example.com/api/v1/workspace/current \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "allowClientRegistration": true, "allowedExternalLinkDomains": [ "example" ], "asanaWorkspaceGid": "example", "clientReportLanguage": "off", "contactEmail": "hello@example.com", "currency": "example", "currencyFormat": "example", "dateFormat": "example", "defaultBudgetAlertThresholds": [ 1 ], "defaultCapacity": 1, "fiscalYearStart": "example", "longTimerAutoStopEnabled": true, "longTimerAutoStopMinutes": 1, "longTimerNoticeEnabled": true, "longTimerNoticeMinutes": 1, "longTimerTeamAlertEnabled": true, "longTimerTeamAlertMinutes": 1, "minimumDailyHours": 1, "name": "example", "numberFormat": "example", "orderBudget": "example", "reviewNewUsers": true, "slug": "example", "spamRemovalDays": 7, "startWeekOn": "monday", "timeDisplay": "example", "timeEntryExternalLink": "example", "timeEntryNotes": "optional", "timeFormat": "12h", "timeRounding": 1, "timeRoundingType": "nearest", "timesheetDeadline": "no-preference", "timesheetDeadlineHour": 1, "timesheetReminderMode": "before", "timesheetReminderOffset": 1, "timesheetReminderThreshold": 1, "timesheetReminders": true, "timezone": "example" }'

Updates workspace name, slug, or any preference setting. Requires the settings.manage permission.

Media typeapplication/json
object
allowClientRegistration
boolean
allowedExternalLinkDomains
Array<string>
asanaWorkspaceGid
string | null
clientReportLanguage
string
Allowed values: off en es pt fr de it
contactEmail
Any of:
string format: email
/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/
currency
string
>= 3 characters <= 3 characters
currencyFormat
string
dateFormat
string
defaultBudgetAlertThresholds
Array<integer>
>= 1 items
defaultCapacity
integer
>= 1 <= 168
fiscalYearStart
string
longTimerAutoStopEnabled
boolean
longTimerAutoStopMinutes
integer
>= 1 <= 10080
longTimerNoticeEnabled
boolean
longTimerNoticeMinutes
integer
>= 1 <= 10080
longTimerTeamAlertEnabled
boolean
longTimerTeamAlertMinutes
integer
>= 1 <= 10080
minimumDailyHours
integer
<= 24
name
string
>= 1 characters <= 100 characters
numberFormat
string
orderBudget
string
reviewNewUsers

True makes people who sign up on their own wait for the team’s review, with no company and only their own tickets.

boolean
slug
string
>= 2 characters <= 50 characters /^[a-z0-9-]+$/
spamRemovalDays

Days a person marked as spam stays recoverable before removal: 7, 15 or 30.

Any of:
number
Allowed value: 7
startWeekOn
string
Allowed values: monday sunday saturday
timeDisplay
string
timeEntryExternalLink
string
timeEntryNotes
string
Allowed values: optional required hidden
timeFormat
string
Allowed values: 12h 24h
timeRounding
integer
<= 60
timeRoundingType
string
Allowed values: nearest up down none
timesheetDeadline
string
Allowed values: no-preference sunday monday tuesday wednesday thursday friday saturday
timesheetDeadlineHour
integer
<= 23
timesheetReminderMode
string
Allowed values: before after
timesheetReminderOffset
integer
<= 168
timesheetReminderThreshold
integer
<= 100
timesheetReminders
boolean
timezone
string
>= 1 characters

The updated workspace.

Media typeapplication/json
object
data
required

Workspace identity and settings.

object
allowClientRegistration
required
boolean
allowedExternalLinkDomains
required
Array<string>
clientReportLanguage
required
string
contactEmail
required
string | null
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
currency
required
string
currencyFormat
required
string
dateFormat
required
string
defaultBudgetAlertThresholds
required
Array<integer>
defaultCapacity
required
integer
>= -9007199254740991 <= 9007199254740991
fiscalYearStart
required
string
id
required
string
lastTimesheetReminderSentAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
longTimerAutoStopEnabled
required
boolean
longTimerAutoStopMinutes
required
integer
>= -9007199254740991 <= 9007199254740991
longTimerNoticeEnabled
required
boolean
longTimerNoticeMinutes
required
integer
>= -9007199254740991 <= 9007199254740991
longTimerTeamAlertEnabled
required
boolean
longTimerTeamAlertMinutes
required
integer
>= -9007199254740991 <= 9007199254740991
minimumDailyHours
required
integer
>= -9007199254740991 <= 9007199254740991
name
required
string
numberFormat
required
string
orderBudget
required
string
reviewNewUsers

Whether people who sign up on their own wait for the team’s review with no company. Absent on an older server.

boolean
slug
required
string
spamRemovalDays

Days a person marked as spam stays recoverable before their account is removed. Absent on an older server.

integer
>= -9007199254740991 <= 9007199254740991
startWeekOn
required
string
timeDisplay
required
string
timeEntryExternalLink
required
string
timeEntryNotes
required
string
timeFormat
required
string
timeRounding
required
integer
>= -9007199254740991 <= 9007199254740991
timeRoundingType
required
string
timesheetDeadline
required
string
timesheetDeadlineHour
required
integer
>= -9007199254740991 <= 9007199254740991
timesheetReminderMode
required
string
timesheetReminderOffset
required
integer
>= -9007199254740991 <= 9007199254740991
timesheetReminderThreshold
required
integer
>= -9007199254740991 <= 9007199254740991
timesheetReminders
required
boolean
timezone
required
string
updatedAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/

Example generated

{
"data": {
"allowClientRegistration": true,
"allowedExternalLinkDomains": [
"example"
],
"clientReportLanguage": "example",
"contactEmail": "example",
"createdAt": "2026-04-15T12:00:00Z",
"currency": "example",
"currencyFormat": "example",
"dateFormat": "example",
"defaultBudgetAlertThresholds": [
1
],
"defaultCapacity": 1,
"fiscalYearStart": "example",
"id": "example",
"lastTimesheetReminderSentAt": "2026-04-15T12:00:00Z",
"longTimerAutoStopEnabled": true,
"longTimerAutoStopMinutes": 1,
"longTimerNoticeEnabled": true,
"longTimerNoticeMinutes": 1,
"longTimerTeamAlertEnabled": true,
"longTimerTeamAlertMinutes": 1,
"minimumDailyHours": 1,
"name": "example",
"numberFormat": "example",
"orderBudget": "example",
"reviewNewUsers": true,
"slug": "example",
"spamRemovalDays": 1,
"startWeekOn": "example",
"timeDisplay": "example",
"timeEntryExternalLink": "example",
"timeEntryNotes": "example",
"timeFormat": "example",
"timeRounding": 1,
"timeRoundingType": "example",
"timesheetDeadline": "example",
"timesheetDeadlineHour": 1,
"timesheetReminderMode": "example",
"timesheetReminderOffset": 1,
"timesheetReminderThreshold": 1,
"timesheetReminders": true,
"timezone": "example",
"updatedAt": "2026-04-15T12:00:00Z"
}
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Disconnect existing Asana projects before changing its workspace; concurrent changes must finish first (ASANA_LIFECYCLE_CONFLICT).

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.