client.permission_sets.post_resources
A method of the Permission Sets endpoint.
- post_resources(id: int, name: str, *, description: str = None) Response
Create a resource in a permission set
API URL:
POST /permission_sets/{id}/resourcesimport civis client = civis.APIClient() response = client.permission_sets.post_resources(...)
- Parameters:
- idint
The ID for this permission set.
- namestr
The name of this resource.
- descriptionstr, optional
A description of this resource.
- Returns:
civis.Response- permission_set_idint
The ID for the permission set this resource belongs to.
- namestr
The name of this resource.
- descriptionstr
A description of this resource.
created_at : str (time)
updated_at : str (time)