Skip to main content

Accept Workspace Invitation

POST 

https://cloud.agenta.ai/api/organizations/:org_id/workspaces/:workspace_id/invite/accept

Accept an invitation to a workspace.

Raises: HTTPException: description; status_code: 500 HTTPException: Invitation not found or has expired; status_code: 400 HTTPException: You already belong to this organization; status_code: 400

Returns: JSONResponse: Accepted invitation to workspace; status_code: 200

Request

Path Parameters

    org_id Org Idrequired
    workspace_id Workspace Idrequired

Query Parameters

    project_id Project Idrequired

Body

required

    token Token (string)required

Responses

Successful Response

Schema

    any

curl -L 'https://cloud.agenta.ai/api/organizations/:org_id/workspaces/:workspace_id/invite/accept' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"token": "string"
}'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
— pathrequired
— queryrequired
Body required
{
  "token": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!