Update prompt
PUT/v1/private/prompts/:id
Update prompt
Request
Path Parameters
id uuidrequired
- application/json
Body
name stringrequired
description string
Possible values: Value must match regular expression (?s)^\s*(\S.*\S|\S)\s*$
Responses
- 204
- 400
- 404
- 409
- 422
No content
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details string
{
"code": 0,
"message": "string",
"details": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details string
{
"code": 0,
"message": "string",
"details": "string"
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details string
{
"code": 0,
"message": "string",
"details": "string"
}
Unprocessable Content
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details string
{
"code": 0,
"message": "string",
"details": "string"
}
Loading...