Ce point d'accès ajoute une instance d'application New. La taille maximale est de 500 instances d'application par demande, avec une limite d'une demande toutes les 10 minutes.
Point final de la demande
POST https://<tenant-URL>/api/v1/app_instances?token=<token>&op=add
Valid parameters are:
| Clé | Type | Value | Description |
|---|---|---|---|
op | string | add | update | delete | list | Il s'agit d'une obligation. Opération effectuée. |
app | string | Ex:Amazon Web Services | Amazon S3 | Amazon EC2 | Amazon DynamoDB | Microsoft Azure | Microsoft Office 365 Sharepoint Sites | Microsoft Office 365 OneDrive for Business | Box | Slack | Il s'agit d'une obligation. Nom de l'application. |
instance_id | string | Ex: 123451234512 | Il s'agit d'une obligation. Pour AWS, utilisez l'identifiant du compte. Pour Azure, utilisez l'abonnement. Pour le GCP, utilisez le projet. Pour plus d'informations sur la création d'un ID d'instance pour vos applications, consultez cet article sur la page d'assistance Netskope. |
instance_name | string | Ex: "MYAWS_GOSKOPE" | Il s'agit d'une obligation. Il doit s'agir d'un nom unique. Note Le nom doit être unique parmi Ne peut être vide. |
tags | tableau d'une chaîne de caractères, ou un tableau vide | Sanctioned | Unsanctioned | <blank> | Optional. |
Exemple de demande d'ajout d'une instance d'application
POST 'https://<tenant-URL>/api/v1/app_instances?token=<token>&op=add'
--header 'Content-Type: application/json'
--data-raw '{
{ "instances":[
{
"app":"Box",
"instance_id": "netskope",
"instance_name":"Box-Sacntioned-Instance",
"tags":[
"Sanctioned"
]
},
{
"app":"Amazon S3",
"instance_id": "123451234512",
"instance_name":"S3-Unsanctioned",
"tags":[
"Unsanctioned"
]
},
]
}
