Skip to main content

Delete Proto File from gRPC Service

Endpoint: DELETE /api/registry/service/protos/{registryName}/{filename}

Deletes a compiled binary protobuf file from a gRPC service.

Path parameters

ParameterDescriptionTypeRequired/ Optional
registryNameThe name of the gRPC service to delete the proto file from.stringRequired.
filenameThe name of the proto file to delete.stringRequired.

Response

Returns a 200 OK, indicating that the compiled binary protobuf file has been deleted successfully.

Examples

Delete a proto file from a gRPC service

Request

curl -X 'DELETE' \
'https://<YOUR-SERVER-URL>/api/registry/service/protos/grpc-service/hello.bin' \
-H 'accept: */*' \
-H 'X-Authorization: <TOKEN>'

Response

Returns a 200 OK, indicating that the compiled binary protobuf file has been deleted successfully.