Skip to content

Update author

PUT
/api/v1/authors/{authorId}
curl --request PUT \
--url http://127.0.0.1:58259/api/v1/authors/1 \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example", "asin": "example", "nameLocked": true, "descriptionLocked": true, "asinLocked": true, "photoLocked": true }'

Update author details such as name, description, and ASIN.

authorId
required
integer format: int64

ID of the author

Media type application/json
object
name
string
description
string
asin
string
nameLocked
boolean
descriptionLocked
boolean
asinLocked
boolean
photoLocked
boolean
Example generated
{
"name": "example",
"description": "example",
"asin": "example",
"nameLocked": true,
"descriptionLocked": true,
"asinLocked": true,
"photoLocked": true
}

Author updated successfully

Media type */*
object
id
integer format: int64
name
string
description
string
asin
string
nameLocked
boolean
descriptionLocked
boolean
asinLocked
boolean
photoLocked
boolean