User and Workspace management
[Beta] Update Workspace
Changed onUpdate a workspace's name and branding.
- You need to be an Org Admin to update a workspace.
patch/public/beta/workspaces/{workspace_id}
Request
- Base URLhttps://api.pandadoc.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://app.pandadoc.com/oauth2/authorizeToken URLhttps://api.pandadoc.com/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspace_idstring required
Workspace id.
Request body
Example request
{
"name": "Renamed workspace",
"icon_url": "https://cdn.example.com/icons/workspace.png",
"branding": {
"logo_url": "https://cdn.example.com/logos/workspace.png",
"accent_color": "#248567"
}
}Response
OK
Example response
{
"id": "iMymdDd9XFD3HyxP5VD67Q",
"name": "Renamed workspace",
"branding": {
"logo_url": "https://cdn.example.com/logos/workspace.png",
"accent_color": "#248567"
}
}Changes
- info
endpoint added
- info