/r/{repoId}/objectmanagement/datasets/{id}

PUT
https://sample-api.d-velop.cloud
Changing a dataset
If you want to make changes to an existing dataset, you can use this request.
Parameters
repoId/string/required
The unique ID of the repository.
id/string/required
The unique ID of the dataset.
Responses
200
The dataset was changed successfully.
No content
400
Invalid data was transferred.
Content
Media type: application/json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
Media type: application/hal+json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
404
The dataset with the specified ID could not be determined.
Content
Media type: application/json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
Media type: application/hal+json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
Show operation

Language

const options = {method: 'PUT', headers: {accept: 'application/json'}};

fetch('https://example.com/dmsconfig/r/REPOID/objectmanagement/datasets/ID', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));