Update Permission Policy
Changed onUpdate a Permission Policy for the UUID
NOTE: When you set up a policy statement for this call to specify the effect, action, and resource, you must use all lower case and the format as shown in this example - a Permission Policy statement that grants full CRUD access to all meters:
"permissionPolicy" : [
{
"effect" : "allow",
"action" : [
"config:create",
"config:delete",
"config:retrieve",
"config:update"
]
"resource" : [
"config:meter/*"
]
}
]
For more details and further examples, see Understanding, Creating, and Managing Permission Policies in our main Documentation.
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
Path parameters
The UUID of the PermissionPolicy to update.
UUID of the organization
Request body
Response
Returns the updated version of the PermissionPolicy
Changes
- breaking
the
allOf[subschema #2]response's property type changed from no type toobjectfor status
- breaking
- warning
removed the optional property
createdByfrom the response with the status - warning
removed the optional property
dtCreatedfrom the response with the status
9 more changes in this revision
- warning