Relations
updateRelation
Updates an existing relation between two entities.
put/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}
Request
- Base URLhttps://entity.sls.epilot.io
- URLhttps://entity.sls.epilot.io/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}
- Auth
- HTTP bearer
- or API key in header x-epilot-org-id
Path parameters
slugstring required
URL-friendly identifier for the entity schema
Example:contact
Entity Type
idstring uuid required
Entity id
attributestring required
The attribute that express meaning
entity_idstring required
The attribute that express meaning
Query parameters
asyncboolean
Don't wait for updated entity to become available in Search API. Useful for large migrations
Example:01F130Q52Q6MWSNS8N2AVXV4JN
Activity to include in event feed
Request body
Response
Success
Example response
{
"_schema": "contact"
}Changes
No recorded changes to this operation across all 18 revisions of this API.