Python
from openlayer import Openlayer client = Openlayer() client.workspaces.update( workspace_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", name="My Workspace", slug="my-workspace" )
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "Openlayer", "slug": "openlayer", "dateCreated": "2023-11-07T05:31:56Z", "dateUpdated": "2023-11-07T05:31:56Z", "creatorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "wildcardDomains": [ "<string>" ], "projectCount": 1, "memberCount": 1, "monthlyUsage": [ { "monthYear": "2023-12-25", "predictionCount": 1, "executionTimeMs": 1 } ], "inviteCount": 1, "periodStartDate": "2023-11-07T05:31:56Z", "periodEndDate": "2023-11-07T05:31:56Z", "samlOnlyAccess": true, "status": "active" }
Update a workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your workspace API key. See Find your API key for more information.
Bearer <token>
<token>
The workspace id.
Response OK.
The response is of type object.
object
Was this page helpful?