Skip to main content

Retrieve a permission group

GET 
/auth/permission_groups/:id

Retrieves the details of an existing permission group.

Request

Path Parameters

    id stringrequired

    The id of the Permission Group

Query Parameters

    include_actions boolean

    If true, only ids will be returned, otherwise the nested resource will be returned.

    include_resource_groups boolean

    If true, only ids will be returned, otherwise the nested resource will be returned.

Responses

200: Successful response

401: Authentication error

403: Authorization error

404: Resource not found

422: Invalid parameters supplied in request. See HTTP response body for details.

Request samples


curl -L 'https://api.telnyx.com/auth/permission_groups/:id' \
-H 'Accept: application/json'

Response samples


{
"data": {
"id": "1490ecab-d4a1-4f22-abe7-60f5500a060f",
"description": "Text Jenny",
"actions": [
"string"
],
"resource_groups": [
"string"
],
"record_type": "permission_group",
"created_at": "2018-02-08T18:49:22.998023Z",
"updated_at": "2018-02-08T18:49:22.998023Z"
}
}