Users API


Create

Setting different display serializer than the actual serializer makes automatic schema generation for the API easier for Swagger or CoreAPI

POST https://api.terrene.co/users/{object_id}/roles/


Name Description Required Location Schema Example
object_id None True path None
role None True form None

Partial Update

Setting different display serializer than the actual serializer makes automatic schema generation for the API easier for Swagger or CoreAPI

PATCH https://api.terrene.co/users/{object_id}/roles/


Name Description Required Location Schema Example
object_id None True path None
role None False form None