Create a new DSN for a project

Changed on
post/projects/{project_id}/dsns

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

base_urlstring nullable
deployment_idinteger nullable
environment_idinteger nullable
namestring nullable

Response

DSN created

created_atstring required
deployment_idinteger nullable
dsnstring required
environment_idinteger nullable
event_countinteger required
idinteger required
is_activeboolean required
namestring required
project_idinteger required
public_keystring required

Changes

    • info

      the endpoint scheme security bearer_auth was added to the API

    • info

      api tag dsn removed

    • info

      added the non-success response with the status

    1 more change in this revision