drains

Create a new Drain

Changed on

Create a new Drain with the provided configuration.

post/v1/drains

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/drains
  • Auth: HTTP bearer

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

namestring required
projects'some' | 'all' required
projectIdsstring[]
schemasobject required

Response

OR

Changes

    • breaking

      added subschema #1 subschema #2 to the response body oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response body oneOf list for the response status

    • info

      added the non-success response with the status