/folders/{folder_id}/metadata/enterprise/securityClassification-6VMVochwUWoAdd classification to folder
Adds a classification to a folder by specifying the label of the classification to add.
This API can also be called by including the enterprise ID in the
URL explicitly, for example
/folders/:id/enterprise_12345/securityClassification-6VMVochwUWo.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
A 400 is returned: Returns an error when the request body is not valid.
-
schema_validation_failed- The request body contains a value for a field that either does not exist, or for which the value or type does not match the expected field type. An example might be an unknown option for anenumormultiSelectfield. A 404 is returned: Returns an error when the folder or metadata template was not found. -
not_found- The folder could not be found, or the user does not have access to the folder. -
instance_tuple_not_found- The metadata template was not found. A 409 is returned: Returns an error when an instance of this metadata template is already present on the folder. -
tuple_already_exists- An instance of them metadata template already exists on the folder. Any other status is an error: An unexpected client error.