Blueprints

Simulate permissions for a user

This route allows you to simulate what permissions a specific user would have for entities in a blueprint.<br/>Provide a userIdentifier and operation to see which entities are accessible, or additionally provide an entityIdentifier to see detailed permission checks for that specific entity.<br/><br/>To learn more, see the permission simulator documentation.

post/v1/blueprints/{blueprint_identifier}/permissions/simulate

Request

  • Base URL: https://api.port.io
  • URL: https://api.port.io/v1/blueprints/{blueprint_identifier}/permissions/simulate
  • Auth: API key in header Authorization

Path parameters

blueprint_identifierstring required

The identifier of the blueprint to operate on.

Request body

userIdentifierstring required

The identifier of the user to simulate permissions for.

operation'read' | 'register' | 'update' | 'unregister' required

The operation to simulate permissions for.

entityIdentifierstring

The identifier of the entity to simulate permissions for.

Changes

No recorded changes to this operation across all 1 revision of this API.