PUT
/
bases
/
{id}
curl --request PUT \
  --url https://api.bases.rdstationmentoria.com.br/rest/bases/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "sources": [
    {
      "type": "site",
      "file": {
        "url": null,
        "data": null,
        "title": null,
        "img": null,
        "description": null,
        "size": null,
        "key": null,
        "ext": null
      }
    }
  ]
}'
{
  "id": "<string>",
  "description": "<string>",
  "status": "in_progress",
  "records": 0,
  "workspaceId": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.

PUT
/
bases
/
{id}
curl --request PUT \
  --url https://api.bases.rdstationmentoria.com.br/rest/bases/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "sources": [
    {
      "type": "site",
      "file": {
        "url": null,
        "data": null,
        "title": null,
        "img": null,
        "description": null,
        "size": null,
        "key": null,
        "ext": null
      }
    }
  ]
}'
{
  "id": "<string>",
  "description": "<string>",
  "status": "in_progress",
  "records": 0,
  "workspaceId": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.