diff --git a/nerm/openapi.yaml b/nerm/openapi.yaml index cc13344..8870f73 100644 --- a/nerm/openapi.yaml +++ b/nerm/openapi.yaml @@ -75,6 +75,8 @@ paths: # Synced attributes /profile_types/{profile_type_id}/synced_attributes: $ref: "./paths/synced_attributes.yaml" + /profile_types/{profile_type_id}/synced_attributes/{ne_attribute_id}: + $ref: "./paths/synced_attributes_id.yaml" # Profile Type Roles /profile_type_roles: $ref: "./paths/profile_type_roles.yaml" diff --git a/nerm/parameters/path/ne_attribute_id.yaml b/nerm/parameters/path/ne_attribute_id.yaml new file mode 100644 index 0000000..dc86258 --- /dev/null +++ b/nerm/parameters/path/ne_attribute_id.yaml @@ -0,0 +1,8 @@ +name: ne_attribute_id +in: path +description: Ne attribute ID of the object +required: true +schema: + type: string + format: uuid + example: 1246d8b3-ac29-4015-8154-dea4434a73fa \ No newline at end of file diff --git a/nerm/parameters/path/profile_type_id.yaml b/nerm/parameters/path/profile_type_id.yaml new file mode 100644 index 0000000..96345f7 --- /dev/null +++ b/nerm/parameters/path/profile_type_id.yaml @@ -0,0 +1,8 @@ +name: profile_type_id +in: path +description: Profile type ID of the object +required: true +schema: + type: string + format: uuid + example: 1246d8b3-ac29-4015-8154-dea4434a73fa \ No newline at end of file diff --git a/nerm/paths/synced_attributes_id.yaml b/nerm/paths/synced_attributes_id.yaml new file mode 100644 index 0000000..4050f27 --- /dev/null +++ b/nerm/paths/synced_attributes_id.yaml @@ -0,0 +1,16 @@ +delete: + summary: Delete synced attribute + operationId: deleteSyncedAttribute + description: Delete a synced attribute. + tags: + - synced attributes + parameters: + - $ref: "../parameters/path/profile_type_id.yaml" + - $ref: "../parameters/path/ne_attribute_id.yaml" + responses: + '200': + $ref: "../responses/Info.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file