Add a PermissionPolicy to a service user
Add a permission policy to a service user.
Authorizations
m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.
The authorizationCode flow controls access for human users via the m3ter Console application.
- Authorization URL
- https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize
- Token URL
- https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/token
- Token URL
- /oauth/token
Path Parameters
UUID of the organization
UUID of the permission policy
Body
1The version number of the entity:
- Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
- Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
Response
Returns the PrincipalPermission
The UUID of the entity.
The version number:
- Create: On initial Create to insert a new entity, the version is set at 1 in the response.
- Update: On successful Update, the version is incremented by 1 in the response.
USER, USERGROUP, SERVICEUSER, SUPPORTUSERS The DateTime (in ISO-8601 format) when the principal permission was created.
The DateTime (in ISO-8601 format) when the principal permission was last modified.
The id of the user who created this principal permission.
The id of the user who last modified this principal permission.