{
  "opencollection": "1.0.0",
  "info": {
    "name": "Anthropic Admin Agents Workspace Members API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Workspace Members",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Anthropic List Workspace Members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.anthropic.com/v1/organizations/workspaces/:workspace_id/members",
            "headers": [
              {
                "name": "anthropic-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
                "type": "path",
                "description": "Unique identifier for the workspace"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items to return per page. Defaults to 20. Ranges from 1 to 1000."
              },
              {
                "name": "before_id",
                "value": "",
                "type": "query",
                "description": "ID of the object to use as a cursor for pagination. Returns the page of results immediately before this object."
              },
              {
                "name": "after_id",
                "value": "",
                "type": "query",
                "description": "ID of the object to use as a cursor for pagination. Returns the page of results immediately after this object."
              }
            ]
          },
          "docs": "Retrieves a paginated list of members for a specific workspace."
        },
        {
          "info": {
            "name": "Anthropic Add Workspace Member",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.anthropic.com/v1/organizations/workspaces/:workspace_id/members",
            "headers": [
              {
                "name": "anthropic-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
                "type": "path",
                "description": "Unique identifier for the workspace"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a user as a member of a workspace."
        },
        {
          "info": {
            "name": "Anthropic Get Workspace Member",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.anthropic.com/v1/organizations/workspaces/:workspace_id/members/:user_id",
            "headers": [
              {
                "name": "anthropic-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
                "type": "path",
                "description": "Unique identifier for the workspace"
              },
              {
                "name": "user_id",
                "value": "user_01WCz1FkmYMm4gnmykNKUu3Q",
                "type": "path",
                "description": "Unique identifier for the user"
              }
            ]
          },
          "docs": "Retrieves membership details for a specific user in a workspace."
        },
        {
          "info": {
            "name": "Anthropic Update Workspace Member",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.anthropic.com/v1/organizations/workspaces/:workspace_id/members/:user_id",
            "headers": [
              {
                "name": "anthropic-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
                "type": "path",
                "description": "Unique identifier for the workspace"
              },
              {
                "name": "user_id",
                "value": "user_01WCz1FkmYMm4gnmykNKUu3Q",
                "type": "path",
                "description": "Unique identifier for the user"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the role of a workspace member."
        },
        {
          "info": {
            "name": "Anthropic Remove Workspace Member",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.anthropic.com/v1/organizations/workspaces/:workspace_id/members/:user_id",
            "headers": [
              {
                "name": "anthropic-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
                "type": "path",
                "description": "Unique identifier for the workspace"
              },
              {
                "name": "user_id",
                "value": "user_01WCz1FkmYMm4gnmykNKUu3Q",
                "type": "path",
                "description": "Unique identifier for the user"
              }
            ]
          },
          "docs": "Removes a user from a workspace."
        }
      ]
    }
  ],
  "bundled": true
}