Skip to main content
PATCH
Deprecate an Admin's Role

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

ruleset
string
required
user
string
required

Body

application/json

DeprecatePolicyRulesetAdminData

expires_at
string<date-time>

The timestamp that this ruleset admin relationship is scheduled to expire or previously expired at

expires_after_days
integer

The number of days after which this ruleset admin relationship should expire

Response

PolicyRulesetAdminDetailedResponseData

id
string
required
Example:

"posaa_01hq8xyzabc123def456ghi789"

state
enum<string>
required
Available options:
staged,
active,
expiring,
expired,
deactivated
role
enum<string>
required
Available options:
admin,
audit,
create,
activate
count
object
required

Count of related resources

included
object
required

Included related resources

timestamp
TimestampStateData · object
required

API hyperlinks related to the Policy Ruleset Admin record

Example: