Ensure a basin.
curl --request PUT \
--url https://a.s2.dev/v1/basins/{basin} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"location": "<string>"
}{
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"location": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}basins
Ensure a basin.
Ensure an S2 basin exists with the specified configuration. If it already exists, only its configuration is updated.
PUT
/
basins
/
{basin}
Ensure a basin.
curl --request PUT \
--url https://a.s2.dev/v1/basins/{basin} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"location": "<string>"
}{
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"location": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Path Parameters
Basin name.
Required string length:
8 - 48Body
application/json

