workspace
Update team workspace metadata
patch/workspaces/{namespace}/{slug}
Request
- Base URLhttps://api.scalar.com/core
- URLhttps://api.scalar.com/core/workspaces/{namespace}/{slug}
- AuthHTTP bearer
Path parameters
namespacestring required
Example:acme
slugstring required
Example:acme-api
Request body
Example request
{
"version": "1.2.0",
"namespace": "acme",
"slug": "acme-api",
"loginPortal": "acme-api",
"accessGroups": [
"acme-api"
]
}Response
Default Response
Example response
{
"uid": "UakgbKJ5m9gl0JDMbcJqL",
"createdAt": 1735689600,
"updatedAt": 1735689600,
"namespace": "acme",
"title": "Acme API",
"slug": "acme-api",
"description": "API for managing Acme products and orders.",
"tags": [
"products",
"orders"
],
"accessGroups": [
"UakgbKJ5m9gl0JDMbcJqL"
],
"loginPortalUid": "LakgbKJ5m9gl0JDMbcJqL",
"source": {
"repositoryUid": "UakgbKJ5m9gl0JDMbcJqL",
"lastPublishedAt": 1735689600
},
"git": {
"lastPublishedAt": 1735689600
},
"version": "1.2.0",
"versions": [
{
"version": "1.2.0",
"createdAt": 1735689600,
"updatedAt": 1735689600
}
]
}Changes
- breaking
added
subschema #2subschema #3to theresponse propertyoneOflist for the response status - info
the
response's property default valueunixTimestamp()was removed for the status - info
the
response's property default valuerandomManagedDocSlug()was removed for the status - info
the
response's property default valueunixTimestamp()was removed for the status - info
removed
subschema #2subschema #3from theresponse propertyoneOflist for the response status
- breaking
- breaking
the
response property's minLength was decreased from3to2for the response status - info
for the
pathrequest parameternamespace, the minLength was decreased from3to2 - info
the
request property's minLength was decreased from3to2
- breaking