Skip to main content
POST
/
api
/
directory
/
resources.update
Update
curl --request POST \
  --url https://api.example.com/api/directory/resources.update \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "872815618512410358",
  "attributes": {},
  "relations": [
    {
      "relation_type_id": "872815618512410358",
      "related_id": "872815618512410358"
    }
  ]
}
'

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

attributes
object
relations
object[]

Response

204

Resource updated.