Download
This endpoint allows you to download the pending certificate request file, .CSR
, by providing the accommodation id
.
Request
GET/v1/accommodations/{accommodation}/certificates
curl https://api.ntak.guru/v1/accommodations/99845d23-7ffb-4267-85ef-c8d4ac70e46a/certificates \
-H "Authorization: Bearer {token}" \
-H "Accept: application/pkcs10"
URL Parameters
Name | Description |
---|---|
accommodation | The accommodation id |
Response
-----BEGIN CERTIFICATE REQUEST-----
MIIEeDCCAmACAQAwADCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBA1fr
sX+BmqZuTW+XKmFwZ8XFjeO+WbhkAX7F+a6Kaec1TwE0FRF9i373IHMTkO54NT08
L1DihE9cd11G0d3/ieLwCMNKreBHApqPPwKLzkRQ29NKI0HJov2qYCMXf6lpaPRg
uap9jkjz9aDHvceurDZ91kKt3L+NRg/XslsqfND+SINqSk4EraSWYiwANO3x6EgF
/u98M+VhetRPQa9Zb6TarmPWjQIMIZ0mda73ZRVWURb/uytAEk8PpAeWszz+Ql4g
rTqaF7frfLVKTfKQKG0j0zHxefDXuNqlug3YGgh7fgxI305KhJqDyvRlnMz7/Exr
pKmyVksw7xjRN4hRsK/5mg/YrtIoz8yH5LR8c0CTp8ZncpanxBBxzI7mM6EHO+WL
/Mui6H4ejaBePZb+WeHJkRy0CW4ekhWgnpkL7MM/oFyqtrZK7/wRtnYgFkVDbduz
eR2bld82jEu5JBnk9qEG9NIqACYccuhT8Tk3UAHw2o9u/5mw/Yk4+EpEp+20D1ta
CRjce43uGV5x6mQMw2QwziXdMDsAH97M7wR0btiFMqYNeBmbVETQIe0aVg5AQxYD
pi6FjQRgqu8DTDygcDwLp58VMzHjKvwjXNHeknZkJrVy2QVeKBBdIwkjhgNpsU8f
G8P7mSYfmK+O5Aaw76yyzrZ1CG7Qi2uUxbgU19MPAgMBAAGgMzAxBgkqhkiG9w0B
CQ4xJDAiMAsGA1UdDwQEAwIF4DATBgNVHSUEDDAKBggrBgEFBQcDAjANBgkqhkiG
9w0BAQsFAAOCAgEA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