POST /api/v1/policies/{policyId}/mappings
Maps a resource to a policy identified by policyId
Note: Use the Assign an app sign-in policy endpoint to assign an app sign-in policy to an app.
Servers
- https://{yourOktaDomain}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
policyId |
String | Yes |
|
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
resourceId |
String | No |
Policy ID of the app sign-in policy that you want to map |
resourceType |
String | No |
Specifies the type of resource to map. You can only map an app sign-in policy to a device signal collection policy (the Valid values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.