GET /staged_config/access/security_profiles/{id}

Get a staged security profile by ID.

Get a staged security profile by ID. The staged configuration is not active until a deploy is performed. The ADMIN or SAASADMIN capabilities are required to call this endpoint.

Table 1. GET /staged_config/access/security_profiles/{id} resource details
MIME Type

application/json

Table 2. GET /staged_config/access/security_profiles/{id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

id

path

Required

Number (Integer)

text/plain

The ID of the staged security profile to get.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /staged_config/access/security_profiles/{id} response codes
HTTP Response Code Unique Code Description

200

The staged security profile was retrieved.

404

38341001

The security profile id does not exist.

Response Description

A single staged Security profile.
  • id - Long - The ID of the security profile. The ID of the staged and the ID of the same deployed security profile are the same.
  • name - String - The name of the security profile.
  • domain_ids - Array of Integers - The list of domain ids which are assigned to the security profiles. If there is no domain assigned to the security profile, the empty list will be returned.

Response Sample


{
    "domain_ids": [
        42
    ],
    "id": 42,
    "name": "String"
}