PUT | /backup/backupcustomer/accessPolicies/scs |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
location | body | string | Yes | URL for underlying backup system |
uuid | body | string | Yes | UUID of User |
accessPolicies | body | AccessPolicies | No | Access Policies |
environment | body | N3TEnvironment | Yes | EnvironmentAllowable Values
|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
items | form | List<AccessPolicy> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
id | form | string | No | |
version | form | int | No | |
trustee_id | form | string | No | |
trustee_type | form | string | No | |
issuer_id | form | string | No | |
tenant_id | form | string | No | |
role_id | form | string | No | |
created_at | form | string | No | |
updated_at | form | string | No | |
deleted_at | form | Object | No |
DEV | |
QA | |
UAT | |
PROD | |
DEMO | |
EXT |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | ExecuteResult<AccessPolicies> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
HasError | form | bool | No | |
Message | form | string | No | |
Result | form | T | No | |
Exception | form | Exception | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /backup/backupcustomer/accessPolicies/scs HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
location: String,
uuid: String,
accessPolicies:
{
items:
[
{
id: String,
version: 0,
trustee_id: String,
trustee_type: String,
issuer_id: String,
tenant_id: String,
role_id: String,
created_at: String,
updated_at: String,
deleted_at: {}
}
]
},
environment: DEV
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { result: { hasError: False, message: String, result: { items: [ { id: String, version: 0, trustee_id: String, trustee_type: String, issuer_id: String, tenant_id: String, role_id: String, created_at: String, updated_at: String, deleted_at: {} } ] }, exception: Exception of type 'System.Exception' was thrown. }, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }