client.permission_sets.post

A method of the Permission Sets endpoint.

post(name: str, *, description: str = None) Response

Create a Permission Set

API URL: POST /permission_sets

import civis
client = civis.APIClient()
response = client.permission_sets.post(...)
Parameters:
namestr

The name of this permission set.

descriptionstr, optional

A description of this permission set.

Returns:
civis.Response
  • idint

    The ID for this permission set.

  • namestr

    The name of this permission set.

  • descriptionstr

    A description of this permission set.

  • authorcivis.Response
    • idint

      The ID of this user.

    • namestr

      This user’s name.

    • usernamestr

      This user’s username.

    • initialsstr

      This user’s initials.

    • onlinebool

      Whether this user is online.

  • created_at : str (time)

  • updated_at : str (time)

  • archivedbool

    The archival status of the requested item(s).