Skip to main content
PUT
/
api
/
v1
/
person
/
{personId}
Update person
curl --request PUT \
  --url https://in.rough.app/api/v1/person/{personId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "image": "<string>",
  "description": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "imageSet": {
    "16": "<string>",
    "32": "<string>",
    "64": "<string>",
    "128": "<string>",
    "256": "<string>"
  },
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

personId
string
required

Body

name
string
email
string | null
Minimum length: 1
image
string | null
Minimum length: 1
description
string

Response

id
string
required
name
string
required
description
string
required
email
string
Minimum length: 1
imageSet
object