Update a option based attribute value by id​
Update a option based attribute value by id
Path Parameters
- id uuid required
ID of the object to retrieve or update
Example: db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e
- application/json
Request Body required
ne_attribute_option object
ne_attribute_id uuidThe ne_attribute_id
option stringThe option
Responses
- 200
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
ne_attribute_option object
id uuidthe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
the uid
ne_attribute_id uuidthe ne_attribute_id
option stringthe option
{
"ne_attribute_option": {
"id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"uid": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"ne_attribute_id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"option": "myoption"
}
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- error
- error
- errors
oneOf
{
"error": "Invalid JSON syntax. Please check your syntax and try again."
}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
- error
A message describing the error
{
"error": "Sorry something went wrong"
}
Loading...