Retrieve a permission

GET {{protocol}}://{{service}}.{{region}}.{{base_url}}/api/v1/permissions/:permissionId

Get the information of a permission.

RESPONSES

status: OK

{"id":"1b1ff604-fdf8-4450-84b9-167c466896ba","name":"high_rank_employees","description":"This permission is set to limit the access of a certain room to high rank employees only","logic":"POSITIVE","identityGroups":["7f6cc5ec-ea7f-4507-8a78-caec5972f1f9","7eaf39f1-d798-4a3c-a4e5-0e1eb4a08cfb"],"deviceGroup":"2faeae83-ead2-48d3-b539-342284f96634","timePolicy":{"enable":true,"period":{"validFrom":"1970-01-01T00:00:00Z","validTo":"2025-01-01T09:00:00Z"},"repeat":{"pattern":"week","dayValues":["MON","TUE","WED","THU","FRI"],"timezone":"Asia/Tokyo","dayTimeFrom":"09:00:00","dayTimeTo":"21:00:00"}},"restrictions":{"mask":{"enable":true},"temperature":{"enable":true,"threshold":37.5}}}