Update An Entity
To update an entity, we need to make the following HTTP request
Updating an Entity
PUT
/api/v1/{entity-type}/{id}
Path Parameters
Name | Type | Description |
---|---|---|
entity-type* | String | The type of entity to modify |
id* | String | The ID of entity to modify |
Headers
Name | Type | Description |
---|---|---|
authorization | String | Set to Bearer {access-token} if roles in schema is not anonymous. Else token can be empty |
content-type* | String | Set to |
Request Body
Name | Type | Description |
---|---|---|
...* | String | The entity's data |
Usage
cURL
HTTPie
{registry-url}
is usually http://localhost:{port}. The port can be found under theregistry
section in thedocker-compose.yml
file and is usually8081
.
Last updated