Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Content was not relevant
Contents on this page

Table of Contents

...

Description

Grant permission on object. Note: This service is embedded in the individual object endpoints, but is currently not yet available on all object types. Please reach out to tech@flxone.com if you need additional support. 

Endpoint

/<object_type>/grant

Method

POST

Parameters

NameTypeRequiredDescription
idintYThe ID of the object you want grant permissions to
userstringY *Comma separated list of user IDs you want to give access
user_groupintY *Comma separated list of user group IDs you want to give access

* You need to provide at least one user or one user group. You can also combined these in one call.

 

POST /permission/index

Description

Add custom permission (advanced usage)

Endpoint

/permission/index

Method

POST

Parameters

NameTypeRequiredDescription
namestringYThe name
configurationstringYJSON configuration
user_group_idintNUser Group Id
descriptionstringNThe description

Example of configuration

...