Closed Borjis131 closed 5 months ago
To send the TMGI Deallocate request from the AF, to deallocate an existing TMGI:
# TMGI Deallocate request: /nmbsmf-tmgi/v1/tmgi
curl --http2-prior-knowledge \
--request DELETE \
--header "Content-Type: application/json" \
smf.open5gs.org:80/nmbsmf-tmgi/v1/tmgi?tmgi-list=%5B%7B%22mbsServiceId%22%3A%22762AE4%22%2C%22plmnId%22%3A%7B%22mcc%22%3A%22001%22%2C%22mnc%22%3A%2201%22%7D%7D%5D
# If you are using curl version > 7.87 you can use:
# TMGI Deallocate request: /nmbsmf-tmgi/v1/tmgi
curl --http2-prior-knowledge \
--request DELETE \
--header "Content-Type: application/json" \
--url-query 'tmgi-list=[{"mbsServiceId":"762AE4","plmnId":{"mcc":"001","mnc":"01"}}]' \
smf.open5gs.org:80/nmbsmf-tmgi/v1/tmgi
Note: Use an online URL encoder for the first method
The tmgi-list is not checked for TMGI duplicates.
Following 3GPP TS 29.532 - Release 17.4.0
Ch. 5.2.2.3 - TMGI Deallocate Service operation