await seam.workspaces.update({
name: "My Workspace",
connect_partner_name: "Acme",
connect_webview_customization: {
inviter_logo_url:
"https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
logo_shape: "circle",
primary_button_color: "#232426",
primary_button_text_color: "#FFFDE7",
success_message: "Your account has been successfully connected to Acme!",
},
is_suspended: true,
});
/*
// void
*/
Workspaces
Update a Workspace
Updates the workspace associated with the authentication value.
PATCH
/
workspaces
/
update
await seam.workspaces.update({
name: "My Workspace",
connect_partner_name: "Acme",
connect_webview_customization: {
inviter_logo_url:
"https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
logo_shape: "circle",
primary_button_color: "#232426",
primary_button_text_color: "#FFFDE7",
success_message: "Your account has been successfully connected to Acme!",
},
is_suspended: true,
});
/*
// void
*/
Authorizations
api_keyconsole_session_with_workspacepat_with_workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Connect partner name for the workspace.
Connect Webview customizations for the workspace. See also Customize the Look and Feel of Your Connect Webviews.
Show child attributes
Show child attributes
Indicates whether publishable key authentication is enabled for this workspace.
Indicates whether the workspace is suspended.
Name of the workspace.
ID of the organization to assign the workspace to. The authenticated user must be the owner of the workspace and an admin of the target organization.
Response
OK
Was this page helpful?